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

getMultipleAccounts

getMultipleAccounts — Batched historical lookup at one shared boundary

post
/rewind

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

Parameters

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

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

Per-entry rewindSlot is independently resolved per pubkey: each entry's rewindSlot is the actual slot where its returned version lives (typically ≤ context.slot) and may differ between entries.

Authorizations
AuthorizationstringOptional

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

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

Successful response. Some entries may be null (no version exists, or response byte cap hit).

application/json
jsonrpcstring · enumRequiredPossible values:
idone ofRequired
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": "getMultipleAccounts",
    "params": [
      [
        "<pubkey1>",
        "<pubkey2>"
      ],
      {
        "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
      },
      null
    ],
    "truncatedByBytes": false
  }
}

Last updated