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

getMultipleHistoricalAccounts

getMultipleHistoricalAccounts — Batched historical lookup at one shared position

post

Returns the state of multiple accounts at one shared historical position.

Parameters

  1. pubkeys (required) — array of base58 pubkeys, length 1..=100.

  2. config (required) — same shape as getHistoricalAccountInfo's config; one positioning mode required.

Authorizations
AuthorizationstringOptional

Pass Authorization: <api-key> on each request.

Body
jsonrpcstring · enumRequiredExample: 2.0Possible values:
idone ofRequiredExample: 1
stringOptional
or
integerOptional
methodstring · enumRequiredExample: getMultipleHistoricalAccountsPossible values:
Responses
200

Successful response. Some entries may be null (no version at or before the resolved position, filtered account, or response byte cap hit).

application/json
jsonrpcstring · enumRequiredPossible values:
idone ofRequired
stringOptional
or
integerOptional
post/
curl -X POST https://rewind.solanavibestation.com \
  -H "Content-Type: application/json" \
  -H "Authorization: your-api-key-here" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getMultipleHistoricalAccounts",
    "params": [
      [
        "<pubkey1>",
        "<pubkey2>"
      ],
      {
        "slot": 250000000,
        "encoding": "base64"
      }
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "context": {
      "apiVersion": "rewind-0.4.0",
      "slot": 250000000
    },
    "value": [
      {
        "lamports": 88849814690250,
        "owner": "11111111111111111111111111111111",
        "data": [
          "",
          "base64"
        ],
        "executable": false,
        "rentEpoch": 361,
        "space": 0,
        "rewindSlot": 249999998,
        "rewindWriteVersion": 1234
      },
      null
    ],
    "truncatedByBytes": false
  }
}

Last updated