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

getAccountChanges

getAccountChanges — Paginated per-write change history for one pubkey

post
/rewind

Paginated change history for one pubkey in [fromSlot, toSlot], newest first.

Parameters

  1. pubkey (required) — base58 pubkey.

  2. config (required) — see fields below.

Filter on dataChanged: true for a fast "show me only the writes that mutated bytes" view without paying to hydrate data blobs.

Authorizations
AuthorizationstringOptional

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

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

Successful response.

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": "getAccountChanges",
    "params": [
      "<pubkey>",
      {
        "fromSlot": 250000000,
        "toSlot": 250100000,
        "limit": 100
      }
    ]
  }'
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "context": {
      "apiVersion": "rewind-1.1.0",
      "slot": 250100000
    },
    "value": {
      "changes": [
        {
          "slot": 250000123,
          "lamports": 9876543210,
          "owner": "<base58>",
          "executable": false,
          "rentEpoch": 361,
          "space": 165,
          "dataHash": "a1b2c3...",
          "txnSignature": "<base58>",
          "dataChanged": true
        }
      ],
      "next": "eyJzbG90IjoyNTAwMDAwNTAsIndyaXRlVmVyc2lvbiI6MTJ9",
      "truncatedByBytes": false,
      "gaps": [
        {
          "fromSlot": 250000200,
          "toSlot": 250000250,
          "status": "missing"
        }
      ]
    }
  }
}

Last updated