getHistoricalAccountInfo
Returns the state of pubkey at a chosen historical position.
Parameters
pubkey(required) — base58 account pubkey.config(required) — positioning + encoding options. One ofslot(end-of-slot, optionally withwriteVersionfor inside-a-slot) oranchormust be set.
Pass Authorization: <api-key> on each request.
JSON-RPC protocol version.
2.0Possible values: Request identifier echoed back in the response.
1Must be getHistoricalAccountInfo.
getHistoricalAccountInfoPossible values: Successful getHistoricalAccountInfo response.
Base envelope of every JSON-RPC 2.0 response.
2.0Possible values: Echoed request id.
1Malformed JSON (the one non-envelope failure mode).
Authentication required or invalid.
Insufficient permissions for the request.
Rate limit exceeded for this tier.
Unexpected server error. Treat as transient; safe to retry.
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": "getHistoricalAccountInfo",
"params": [
"SysvarC1ock11111111111111111111111111111111",
{
"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
}
}
}Last updated