Skip to main content

platform.getBalance RPC Method

Loading...

Updated on
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.

Parameters

addresses
array
REQUIRED
Loading...

Returns

balance
string
Loading...
unlocked
string
Loading...
lockedStakeable
string
Loading...
lockedNotStakeable
string
Loading...
balances
object
Loading...
unlockeds
object
Loading...
lockedStakeables
object
Loading...
lockedNotStakeables
object
Loading...
utxoIDs
array
Loading...
txID
string
Loading...
outputIndex
integer
Loading...
Request
1
curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "platform.getBalance",
6
"params": {
7
"addresses": [
8
"P-flare1ljm5j7ku39shkern8peyg223axa9m0z30cl63c"
9
]
10
},
11
"id": 1
12
}'
1
curl -X POST "https://docs-demo.flare-mainnet.quiknode.pro/ext/bc/C/rpc/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "platform.getBalance",
6
"params": {
7
"addresses": [
8
"P-flare1ljm5j7ku39shkern8peyg223axa9m0z30cl63c"
9
]
10
},
11
"id": 1
12
}'
Response
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
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free