hl_batchPortfolioStates JSON-RPC Method
Access to
/hypercore JSON-RPC methods requires a Build plan or higher. View pricing to upgrade. For complete stream type definitions and filtering options, see the datasets documentation. This method consolidates clearinghouse states, spot balances, and account abstraction modes for up to 500 users in a single request. The response includes both successful portfolio states and any failed wallet addresses. Use the optional dex parameter with value "ALL_DEXES" to retrieve data across all DEXes (native, xyz, flx, vntl, hyna, km, abcd, cash, para). Credits are charged dynamically based on the number of users in the request.参数
users
数组
必填
正在加载...
dex
字符串
正在加载...
退货
结果
对象
正在加载...
successful_states
数组
正在加载...
地址
字符串
正在加载...
数据
对象
正在加载...
清算中心州
对象
正在加载...
marginSummary
对象
正在加载...
accountValue
字符串
正在加载...
totalMarginUsed
字符串
正在加载...
totalNtlPos
字符串
正在加载...
totalRawUsd
字符串
正在加载...
withdrawable
字符串
正在加载...
crossMarginSummary
对象
正在加载...
assetPositions
数组
正在加载...
职位
对象
正在加载...
硬币
字符串
正在加载...
entryPx
字符串
正在加载...
杠杆
对象
正在加载...
liquidationPx
字符串
正在加载...
marginUsed
字符串
正在加载...
unrealizedPnl
字符串
正在加载...
时间
整数
正在加载...
现货清算所所在州
对象
正在加载...
余额
数组
正在加载...
硬币
字符串
正在加载...
token
整数
正在加载...
总计
字符串
正在加载...
保留
字符串
正在加载...
entryNtl
字符串
正在加载...
tokenToAvailableAfterMaintenance
数组
正在加载...
userAbstraction
字符串
正在加载...
failed_wallets
数组
正在加载...
地址
字符串
正在加载...
请求