simulateHistoricalTransaction
Authorizations
AuthorizationstringOptional
Pass Authorization: <api-key> on each request.
Body
jsonrpcstring · enumRequiredExample:
2.0Possible values: idone ofRequiredExample:
1stringOptional
integerOptional
methodstring · enumRequiredExample:
simulateHistoricalTransactionPossible values: Responses
200
Successful simulation. Failed transactions still return logs and unitsConsumed; the application-level error is reported in result.value.err.
application/json
jsonrpcstring · enumRequiredPossible values:
idone ofRequired
stringOptional
integerOptional
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. Treat as transient; safe to retry.
application/json
post/rewind
curl -X POST https://basic.rpc.solanavibestation.com/rewind \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "simulateHistoricalTransaction",
"params": [
"<base64-tx>",
{
"slot": 250000000,
"encoding": "base64",
"innerInstructions": true
}
]
}'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"context": {
"apiVersion": "rewind-1.2.0",
"slot": 250000000
},
"value": {
"err": null,
"logs": [
"Program log: Instruction: Transfer"
],
"accounts": [
{
"lamports": 100000,
"owner": "<base58>",
"data": [
"",
"base64"
],
"executable": false,
"rentEpoch": 361,
"space": 165
}
],
"unitsConsumed": 3458,
"returnData": null,
"innerInstructions": [
{
"index": 0,
"instructions": [
{
"programIdIndex": 5,
"accounts": [
1,
2
],
"data": "<base58>",
"stackHeight": 2
}
]
}
],
"rewindSlot": 250000000,
"rewindLoadSlot": 250000000,
"rewindOverriddenAccounts": [],
"rewindOverrideLoads": {}
}
}
}Last updated