hl_portfolioState 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 data from the clearinghouseState, spotClearinghouseState, and userAbstraction endpoints into a single request, providing complete portfolio information for a user. Use the optional dex parameter with value "ALL_DEXES" to retrieve data across all DEXes (native, xyz, flx, vntl, hyna, km, abcd, cash, para).参数
用户
字符串
必填
正在加载...
dex
字符串
正在加载...
退货
结果
对象
正在加载...
清算中心州
对象
正在加载...
dexName (when using ALL_DEXES)
对象
正在加载...
marginSummary
对象
正在加载...
accountValue
字符串
正在加载...
totalNtlPos
字符串
正在加载...
totalRawUsd
字符串
正在加载...
totalMarginUsed
字符串
正在加载...
crossMarginSummary
对象
正在加载...
accountValue
字符串
正在加载...
totalNtlPos
字符串
正在加载...
totalRawUsd
字符串
正在加载...
totalMarginUsed
字符串
正在加载...
crossMaintenanceMarginUsed
字符串
正在加载...
withdrawable
字符串
正在加载...
assetPositions
数组
正在加载...
assetPosition
对象
正在加载...
类型
字符串
正在加载...
职位
对象
正在加载...
硬币
字符串
正在加载...
szi
字符串
正在加载...
杠杆
对象
正在加载...
类型
字符串
正在加载...
值
整数
正在加载...
entryPx
字符串
正在加载...
positionValue
字符串
正在加载...
unrealizedPnl
字符串
正在加载...
returnOnEquity
字符串
正在加载...
liquidationPx
字符串
正在加载...
marginUsed
字符串
正在加载...
maxLeverage
整数
正在加载...
cumFunding
对象
正在加载...
allTime
字符串
正在加载...
sinceOpen
字符串
正在加载...
sinceChange
字符串
正在加载...
时间
整数
正在加载...
现货清算所所在州
对象
正在加载...
余额
数组
正在加载...
平衡
对象
正在加载...
硬币
字符串
正在加载...
token
整数
正在加载...
总计
字符串
正在加载...
保留
字符串
正在加载...
entryNtl
字符串
正在加载...
tokenToAvailableAfterMaintenance
数组
正在加载...
tuple
数组
正在加载...
tokenId
整数
正在加载...
availableAmount
字符串
正在加载...
userAbstraction
字符串
正在加载...
请求