activeAssetData

post
/info

Request user active asset data.

Body

Request user active asset data.

typeundefined · enumRequired

Type of request.

Possible values:
coinstringRequired

Asset symbol (e.g., BTC).

userstring · min: 42 · max: 42Required

User address.

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

User active asset data.

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

{
  "type": "activeAssetData",
  "coin": "text",
  "user": "text"
}
{
  "user": "text",
  "coin": "text",
  "leverage": {
    "type": "isolated",
    "value": 1,
    "rawUsd": "text"
  },
  "maxTradeSzs": [],
  "availableToTrade": [],
  "markPx": "text"
}

Last updated