activeAssetData
Parameters
Name
Type
Required
Description
Returns
Field
Type
Description
Example
// Request
curl https://hyperliquid.blockpi.network/v1/info/your-api-key -X POST -H "Content-Type: application/json" --data '{"type":"activeAssetData","user":"0x82c32b1410173eb115864adc95bcc58dec7afccc","coin":"BTC"}'
// Result
{
"user": "0x82c32b1410173eb115864adc95bcc58dec7afccc",
"coin": "BTC",
"leverage": {
"type": "cross",
"value": 20
},
"maxTradeSzs": [
"0.0",
"0.00517"
],
"availableToTrade": [
"0.0",
"16.182177"
],
"markPx": "62600.3"
}Was this helpful?