Helius Wallet API Skill

Use this skill to run Helius Wallet API operations through uxc + OpenAPI.

Reuse the uxc skill for shared execution, auth, and error-handling guidance.

Prerequisites

Scope

This skill covers a read-first Helius Wallet API surface:

This skill does not cover:

Authentication

Helius accepts API keys by query parameter or header. This skill standardizes on X-Api-Key header auth.

Configure one API-key credential and bind it to api.helius.xyz:

uxc auth credential set helius \
  --auth-type api_key \
  --api-key-header X-Api-Key \
  --secret-env HELIUS_API_KEY

uxc auth binding add \
  --id helius \
  --host api.helius.xyz \
  --scheme https \
  --credential helius \
  --priority 100

Validate the active mapping when auth looks wrong:

uxc auth binding match https://api.helius.xyz

Core Workflow

  1. Use the fixed link command by default:

    • command -v helius-openapi-cli
    • If missing, create it:
      uxc link helius-openapi-cli https://api.helius.xyz \
        --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/helius-openapi-skill/references/helius-wallet.openapi.json
      
    • helius-openapi-cli -h
  2. Inspect operation schema first:

    • helius-openapi-cli get:/v1/wallet/{wallet}/identity -h
    • helius-openapi-cli post:/v1/wallet/batch-identity -h
    • helius-openapi-cli get:/v1/wallet/{wallet}/balances -h
  3. Prefer narrow validation before broader reads:

    • helius-openapi-cli get:/v1/wallet/{wallet}/identity wallet=HXsKP7wrBWaQ8T2Vtjry3Nj3oUgwYcqq9vrHDM12G664
    • helius-openapi-cli get:/v1/wallet/{wallet}/funded-by wallet=HXsKP7wrBWaQ8T2Vtjry3Nj3oUgwYcqq9vrHDM12G664
    • helius-openapi-cli get:/v1/wallet/{wallet}/balances wallet=HXsKP7wrBWaQ8T2Vtjry3Nj3oUgwYcqq9vrHDM12G664 page=1 limit=20 showNative=true
  4. Execute with key/value parameters:

    • helius-openapi-cli post:/v1/wallet/batch-identity addresses:='["HXsKP7wrBWaQ8T2Vtjry3Nj3oUgwYcqq9vrHDM12G664"]'
    • helius-openapi-cli get:/v1/wallet/{wallet}/history wallet=HXsKP7wrBWaQ8T2Vtjry3Nj3oUgwYcqq9vrHDM12G664 limit=20
    • helius-openapi-cli get:/v1/wallet/{wallet}/transfers wallet=HXsKP7wrBWaQ8T2Vtjry3Nj3oUgwYcqq9vrHDM12G664 limit=20
    • For addresses:='[...]', keep shell quoting in mind. If your shell mangles that form, pass the JSON array as a bare positional payload instead.

Operation Groups

Wallet Identity

Wallet Activity

Guardrails

References