New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
New: Try Gatekeeper (Beta) for significantly lower latency. Learn More
Returns the lamport balance of the account of provided Pubkey.
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getBalance",
"params": [
"83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri"
]
}
'{
"jsonrpc": "2.0",
"id": "<string>",
"result": {
"context": {
"slot": 1
},
"value": 0
}
}Documentation Index
Fetch the complete documentation index at: https://www.helius.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
processedconfirmedfinalizedThe JSON-RPC protocol version.
2.0 A unique identifier for the request.
"1"
The name of the RPC method to invoke.
getBalance Parameters for the request.
The Pubkey of the account to query (base-58 encoded string).
"83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri"
Was this page helpful?
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "getBalance",
"params": [
"83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri"
]
}
'{
"jsonrpc": "2.0",
"id": "<string>",
"result": {
"context": {
"slot": 1
},
"value": 0
}
}