spotClearinghouseState

post
/info

Request spot clearinghouse state.

Body

Request spot clearinghouse state.

typeundefined · enumRequired

Type of request.

Possible values:
userstring · min: 42 · max: 42Required

User address.

Pattern: ^0[xX][0-9a-fA-F]+$
dexstringOptional

DEX name (empty string for main dex).

Responses
200

Account summary for spot trading.

application/json
post
/info
POST /info HTTP/1.1
Host: api.hyperliquid.xyz
Content-Type: application/json
Accept: */*
Content-Length: 60

{
  "type": "spotClearinghouseState",
  "user": "text",
  "dex": "text"
}
{
  "balances": [
    {
      "coin": "text",
      "token": 1,
      "total": "text",
      "hold": "text",
      "entryNtl": "text"
    }
  ],
  "evmEscrows": [
    {
      "coin": "text",
      "token": 1,
      "total": "text"
    }
  ]
}

Last updated