Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://rpc.raze.bot/ \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "id": 1, "method": "getBalance", "params": [ "11111111111111111111111111111111" ] } '
200
success
Returns the SOL balance (in lamports — 1 SOL = 10⁹ lamports) of a public key.
2.0
"2.0"
getBalance
"getBalance"
[address, commitment?]
["11111111111111111111111111111111"]
1
JSON-RPC response. Inspect result (success) or error (failure).
result
error