Skip to main content

platform.getBalance RPC Method

Get the balance of an asset controlled by a given address.

Updated on
Apr 29, 2026
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

An array of address strings

Returns

balance
string

The total token balance.

unlocked
string

The unlocked token balance.

lockedStakeable
string

The locked stakeable token balance.

lockedNotStakeable
string

The locked and not stakeable token balance.

balances
object

A mapping of addresses to their respective balances in atomic units

unlockeds
object

A mapping of addresses to their respective unlocked balances

lockedStakeables
object

A mapping of an address to its locked stakeable balance

lockedNotStakeables
object

A mapping of an address to its not locked stakeable balance

utxoIDs
array

A array of UTXO (Unspent Transaction Output) IDs, with each entry containing a transaction ID and output index

txID
string

The transaction id

outputIndex
integer

The output index

Request
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