跳至主要內容

platform.getBalance RPC Method

載入中...

更新於
Apr 29, 2026

platform.getBalance RPC Method

To use the platform.getBalance method on the P-Chain, ensure that the end of your URL includes ext/bc/P.

參數

addresses
陣列
必填
載入中...

退貨

平衡
字串
載入中...
unlocked
字串
載入中...
lockedStakeable
字串
載入中...
lockedNotStakeable
字串
載入中...
餘額
物件
載入中...
unlockeds
物件
載入中...
lockedStakeables
物件
載入中...
lockedNotStakeables
物件
載入中...
utxoIDs
陣列
載入中...
txID
字串
載入中...
outputIndex
整數
載入中...
請求
回應
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"balance": "5659807676",
6
"unlocked": "5659807676",
7
"lockedStakeable": "0",
8
"lockedNotStakeable": "0",
9
"balances": {
10
"2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k": "5659807676"
11
},
12
"unlockeds": {
13
"2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k": "5659807676"
14
},
15
"lockedStakeables": {},
16
"lockedNotStakeables": {},
17
"utxoIDs": [
18
{
19
"txID": "2mgNobrqvuqQixoQvibWegh7Z8nd2WjufQTmfSVr1F9k69adKC",
20
"outputIndex": 0
21
}
22
]
23
}
24
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"balance": "5659807676",
6
"unlocked": "5659807676",
7
"lockedStakeable": "0",
8
"lockedNotStakeable": "0",
9
"balances": {
10
"2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k": "5659807676"
11
},
12
"unlockeds": {
13
"2MxKSeEWXViLdYyDhW1SQ46AECZEbE2bnVRZptv42JrxqyUX5k": "5659807676"
14
},
15
"lockedStakeables": {},
16
"lockedNotStakeables": {},
17
"utxoIDs": [
18
{
19
"txID": "2mgNobrqvuqQixoQvibWegh7Z8nd2WjufQTmfSVr1F9k69adKC",
20
"outputIndex": 0
21
}
22
]
23
}
24
}
還沒有帳號嗎?
endpoint 幾秒鐘endpoint 建立您的Quicknode endpoint ,並開始建置
立即免費開始使用