For the complete documentation index, see llms.txt. This page is also available as Markdown.

getAccountInfo

getAccountInfo — Historical account lookup at a chosen slot or transaction

post
/rewind

Returns the state of pubkey at a chosen historical position.

Parameters

  1. pubkey (required) — base58 account pubkey.

  2. config (required) — positioning + encoding options. Either slot (end-of-slot) or anchor (per-transaction) must be set.

Authorizations
AuthorizationstringOptional

Pass Authorization: <api-key> on each request. Auth is terminated upstream at the SVS load balancer.

Body
jsonrpcstring · enumRequired

JSON-RPC protocol version.

Example: 2.0Possible values:
idone ofRequired

Request identifier echoed back in the response.

Example: 1
stringOptional
or
integerOptional
methodstring · enumRequired

Must be getAccountInfo.

Example: getAccountInfoPossible values:
Responses
200

Successful getAccountInfo response.

application/json

Base envelope of every JSON-RPC 2.0 response.

jsonrpcstring · enumRequiredExample: 2.0Possible values:
idone ofRequired

Echoed request id.

Example: 1
stringOptional
or
integerOptional
post/rewind
curl -X POST https://basic.rpc.solanavibestation.com/rewind \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getAccountInfo",
    "params": [
      "SysvarC1ock11111111111111111111111111111111",
      {
        "slot": 250000000,
        "encoding": "base64"
      }
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "context": {
      "apiVersion": "rewind-1.2.0",
      "slot": 250000000
    },
    "value": {
      "lamports": 88849814690250,
      "owner": "11111111111111111111111111111111",
      "data": [
        "",
        "base64"
      ],
      "executable": false,
      "rentEpoch": 361,
      "space": 0,
      "rewindSlot": 249999998
    }
  }
}

Last updated