curl --request POST \
--url https://ca.raze.sh/ \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "simulateTransaction",
"params": [
"BASE64_OR_BASE58_TX",
{
"sigVerify": false,
"encoding": "base64"
}
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"context": {
"slot": 418263200
},
"value": {
"err": null,
"logs": [
"Program 11111111111111111111111111111111 invoke [1]",
"Program 11111111111111111111111111111111 success"
],
"accounts": null,
"unitsConsumed": 150,
"returnData": null
}
}
}Runs a signed transaction through the upstream validator’s simulator and returns logs, units consumed, account state changes, and any program error — without committing it. Routed alongside sendTransaction (write-channel).
curl --request POST \
--url https://ca.raze.sh/ \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "simulateTransaction",
"params": [
"BASE64_OR_BASE58_TX",
{
"sigVerify": false,
"encoding": "base64"
}
]
}
'{
"jsonrpc": "2.0",
"id": 1,
"result": {
"context": {
"slot": 418263200
},
"value": {
"err": null,
"logs": [
"Program 11111111111111111111111111111111 invoke [1]",
"Program 11111111111111111111111111111111 success"
],
"accounts": null,
"unitsConsumed": 150,
"returnData": null
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.raze.bot/llms.txt
Use this file to discover all available pages before exploring further.
2.0 "2.0"
simulateTransaction "simulateTransaction"
[transaction, config?] — config {sigVerify, replaceRecentBlockhash, commitment, encoding, accounts, minContextSlot, innerInstructions}
[
"BASE64_OR_BASE58_TX",
{ "sigVerify": false, "encoding": "base64" }
]1