Skip to main content

state.Balance RPC Method

Retrieves the Celestia coin balance for the node's account/signer and verifies it against the corresponding block's AppHash.

Updated on
Nov 19, 2024

state.Balance RPC Method

Parameters

This method does not accept any parameters

Returns

result
object
The result object which contains the following fields:
denom
string
Specifies the denomination of the currency
amount
string
Represents the quantity of the specified denomination
Request
1
curl --location 'https://docs-demo.celestia-mainnet.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"id": 1,
5
"jsonrpc": "2.0",
6
"method": "state.Balance",
7
"params": []
8
}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free