hyperliquid_spot_balances

Pack: hyperliquid · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/hyperliquid_spot_balances for the schema, then POST the same URL with its arguments for the data.

Spot token balances for one Hyperliquid wallet address — per token: total, amount on hold in open orders, available (total minus hold) and entry notional in USDC. Includes the spot USDC balance. Public on-chain data, keyless. Use for “what tokens does this Hyperliquid wallet hold”. e.g. {address:“0x31dea2516beee92135b96f464eeec3cf292a13f2”}.

Parameters

NameTypeRequiredDescription
addressstringyes0x-prefixed 42-character wallet address.
limitnumbernoMax token rows to return, largest first (default 50). Totals always cover every token.

Example call

Arguments

{
  "address": "0x31dea2516beee92135b96f464eeec3cf292a13f2",
  "limit": 5
}

curl

curl -X POST https://gateway.pipeworx.io/hyperliquid/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"hyperliquid_spot_balances","arguments":{"address":"0x31dea2516beee92135b96f464eeec3cf292a13f2","limit":5}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('hyperliquid_spot_balances', {
  "address": "0x31dea2516beee92135b96f464eeec3cf292a13f2",
  "limit": 5
});

Response shape

FieldTypeDescription
addressstring
foundboolean
token_countnumber
spot_usdc_totalstring
total_entry_notional_usdcstring
returnednumber
balancesarray
notestring
sourcestring
Full JSON Schema
{
  "type": "object",
  "properties": {
    "address": {
      "type": "string"
    },
    "found": {
      "type": "boolean"
    },
    "token_count": {
      "type": "number"
    },
    "spot_usdc_total": {
      "type": "string"
    },
    "total_entry_notional_usdc": {
      "type": "string"
    },
    "returned": {
      "type": "number"
    },
    "balances": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "coin": {
            "type": "string"
          },
          "token": {
            "type": "number"
          },
          "total": {
            "type": "string"
          },
          "hold": {
            "type": "string"
          },
          "available": {
            "type": "string"
          },
          "entry_notional_usdc": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "note": {
      "type": "string"
    },
    "source": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the hyperliquid pack
{
  "mcpServers": {
    "hyperliquid": {
      "url": "https://gateway.pipeworx.io/hyperliquid/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 22, 2026