getMultipleHistoricalAccounts
Returns the state of multiple accounts at one shared historical position.
Parameters
pubkeys(required) — array of base58 pubkeys, length 1..=100.config(required) — same shape asgetHistoricalAccountInfo's config; one positioning mode required.
Authorizations
AuthorizationstringOptional
Pass Authorization: <api-key> on each request.
Body
jsonrpcstring · enumRequiredExample:
2.0Possible values: idone ofRequiredExample:
1stringOptional
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
integerOptional
400
Malformed JSON.
401
Authentication required or invalid.
application/json
403
Insufficient permissions for the request.
application/json
429
Rate limit exceeded for this tier.
application/json
500
Unexpected server error.
application/json
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