Skip to main content
POST
/
getBalance
curl --request POST \
  --url https://rpc.raze.bot/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getBalance",
  "params": [
    "11111111111111111111111111111111"
  ]
}
'
{ "jsonrpc": "2.0", "id": 1, "result": { "context": { "slot": 418262988 }, "value": 1 } }

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
Example:

"2.0"

method
enum<string>
required
Available options:
getBalance
Example:

"getBalance"

params
any[]
required

[address, commitment?]

Example:
["11111111111111111111111111111111"]
id
Example:

1

Response

200 - application/json

JSON-RPC response. Inspect result (success) or error (failure).

jsonrpc
string
required
Example:

"2.0"

result
any
required
id
Example:

1