batchClearinghouseStates Info Endpoint Method
Please note that this method is only accessible through the official Hyperliquid public API. At the moment, Quicknode does not support this endpoint because it is not implemented in the open-source Hyperliquid node.
Parameters
type
string
REQUIRED
Loading...
users
array
REQUIRED
Loading...
dex
string
Loading...
Returns
array
array
Loading...
assetPositions
array
Loading...
type
string
Loading...
position
object
Loading...
coin
string
Loading...
szi
string
Loading...
entryPx
string
Loading...
positionValue
string
Loading...
unrealizedPnl
string
Loading...
returnOnEquity
string
Loading...
marginUsed
string
Loading...
liquidationPx
string
Loading...
maxLeverage
integer
Loading...
leverage
object
Loading...
type
string
Loading...
value
integer
Loading...
rawUsd
string
Loading...
cumFunding
object
Loading...
allTime
string
Loading...
sinceOpen
string
Loading...
sinceChange
string
Loading...
crossMaintenanceMarginUsed
string
Loading...
crossMarginSummary
object
Loading...
accountValue
string
Loading...
totalMarginUsed
string
Loading...
totalNtlPos
string
Loading...
totalRawUsd
string
Loading...
marginSummary
object
Loading...
accountValue
string
Loading...
totalMarginUsed
string
Loading...
totalNtlPos
string
Loading...
totalRawUsd
string
Loading...
withdrawable
string
Loading...
time
integer
Loading...
Request
1curl https://api.hyperliquid.xyz/info \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"batchClearinghouseStates","users":["0x31ca8395cf837de08b24da3f660e77761dfb974b","0x0d1d9635d0640821d15e323ac8adecca1427453c"]}'5
1curl https://api.hyperliquid.xyz/info \2-X POST \3-H "Content-Type: application/json" \4--data '{"type":"batchClearinghouseStates","users":["0x31ca8395cf837de08b24da3f660e77761dfb974b","0x0d1d9635d0640821d15e323ac8adecca1427453c"]}'5
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free