跳转到主要内容
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
}

授权

api_key
string
query
必填

请求体

application/json
jsonrpc
enum<string>
必填
可用选项:
2.0
id
integer
必填
method
enum<string>
必填
可用选项:
getAccountInfo
params
any[]
必填
Required array length: 1 - 2 elements

响应

200 - application/json

Successful response

jsonrpc
enum<string>
可用选项:
2.0
result
object
id
integer