Skip to main content
POST
curl --request POST \
  --url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getAccountInfo",
  "params": [
    "AYAmCRPotwZprbNpPQ1hVGSEpbgWUgWHUbjnjt4bfLo1"
  ]
}
'
{
"jsonrpc": "2.0",
"result": {
"context": {
"slot": 1
},
"value": {
"data": [
"11116bv5nS2h3y12kD1yUKeMZvGcKLSjQgX6BeV7u1FrjeJcKfsHRTPuR3oZ1EioKtYGiYxpxMG5vpbZLsbcBYBEmZZcMKaSoGx9JZeAuWf",
"base64"
],
"executable": false,
"lamports": 1000000000,
"owner": "11111111111111111111111111111111",
"rentEpoch": 2,
"space": 80
}
},
"id": 1
}

Authorizations

api_key
string
query
required

Body

application/json
jsonrpc
enum<string>
required
Available options:
2.0
id
integer
required
method
enum<string>
required
Available options:
getAccountInfo
params
any[]
required
Required array length: 1 - 2 elements

Response

200 - application/json

Successful response

jsonrpc
enum<string>
Available options:
2.0
result
object
id
integer