跳至主要內容

hl_portfolioState JSON-RPC Method

載入中...

更新於
May 07, 2026

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).

參數

user
字串
必填
載入中...
dex
字串
載入中...

退貨

結果
物件
載入中...
clearinghouseState
物件
載入中...
dexName (when using ALL_DEXES)
物件
載入中...
marginSummary
物件
載入中...
accountValue
字串
載入中...
totalNtlPos
字串
載入中...
totalRawUsd
字串
載入中...
totalMarginUsed
字串
載入中...
crossMarginSummary
物件
載入中...
accountValue
字串
載入中...
totalNtlPos
字串
載入中...
totalRawUsd
字串
載入中...
totalMarginUsed
字串
載入中...
crossMaintenanceMarginUsed
字串
載入中...
withdrawable
字串
載入中...
assetPositions
陣列
載入中...
assetPosition
物件
載入中...
類型
字串
載入中...
職位
物件
載入中...
硬幣
字串
載入中...
szi
字串
載入中...
leverage
物件
載入中...
類型
字串
載入中...
整數
載入中...
entryPx
字串
載入中...
positionValue
字串
載入中...
unrealizedPnl
字串
載入中...
returnOnEquity
字串
載入中...
liquidationPx
字串
載入中...
marginUsed
字串
載入中...
maxLeverage
整數
載入中...
cumFunding
物件
載入中...
allTime
字串
載入中...
sinceOpen
字串
載入中...
sinceChange
字串
載入中...
時間
整數
載入中...
spotClearinghouseState
物件
載入中...
balances
陣列
載入中...
平衡
物件
載入中...
硬幣
字串
載入中...
代幣
整數
載入中...
總計
字串
載入中...
hold
字串
載入中...
entryNtl
字串
載入中...
tokenToAvailableAfterMaintenance
陣列
載入中...
tuple
陣列
載入中...
tokenId
整數
載入中...
availableAmount
字串
載入中...
userAbstraction
字串
載入中...
請求
還沒有帳號嗎?
只需幾秒鐘即可建立您的 Quicknode 端點,並開始建置
立即免費開始使用