Skip to main content
POST
/
getAccountInfo
curl --request POST \
  --url https://rpc.raze.bot/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getAccountInfo",
  "params": [
    "So11111111111111111111111111111111111111112",
    {
      "encoding": "base64"
    }
  ]
}
'
{ "jsonrpc": "2.0", "id": 1, "result": { "context": { "slot": 418262987 }, "value": { "data": [ "AAAAAA...", "base64" ], "executable": false, "lamports": 1000000000, "owner": "11111111111111111111111111111111", "rentEpoch": 18446744073709552000, "space": 0 } } }

Body

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

"2.0"

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

"getAccountInfo"

params
any[]
required

[address, config?]address (string, base58 pubkey); optional config {encoding, commitment, dataSlice, minContextSlot}

Example:
[
  "So11111111111111111111111111111111111111112",
  { "encoding": "base64" }
]
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