New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
New: getTransactionsForAddress - Query transaction history with advanced filtering, sorting, and pagination. Learn More
Simulate a JITO bundle without executing it on the blockchain.
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "simulateBundle",
"params": [
{
"encodedTransactions": [
"5rqF8aHfs9JyEtKTvND6z8RgBtYxQwZLndS1kzHxV7D3kWm9VoYRzFtsP3qra5bM8rGhC v82LYo8fZpQoyQmtN1D9vxG2uEsMhV7jB4KdADRgxMXn5kRJzLZPt2LrPSmcUhfEmeQa7X rKeR9FHdKcXxZ1Hdq68oBr2AaPpTMuL85KDCt",
"5rqF8aHfs9JyEtKTvND6z8RgBtYxQwZLndS1kzHxV7D3kWm9VoYRzFtsP3qra5bM8rGhC v82LYo8fZpQoyQmtN1D9vxG2uEsMhV7jB4KdADRgxMXn5kRJzLZPt2LrPSmcUhfEmeQa7X rKeR9FHdKcXxZ1Hdq68oBr2AaPpTMuL85KDCt"
]
},
{
"preExecutionAccountsConfigs": [
{
"addresses": [
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
],
"encoding": "base64"
},
null
],
"postExecutionAccountsConfigs": [
{
"addresses": [
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
],
"encoding": "base64"
},
null
],
"skipSigVerify": true,
"simulationBank": {
"commitment": {
"commitment": "processed"
}
},
"transactionEncoding": "base64",
"replaceRecentBlockhash": false
}
]
}
'{
"jsonrpc": "2.0",
"id": "1",
"result": {
"context": {
"apiVersion": "2.30.10",
"slot": 373999891
},
"value": {
"summary": "succeeded",
"transactionResults": [
{
"err": null,
"logs": [
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program 11111111111111111111111111111111 invoke [1]",
"Program 11111111111111111111111111111111 success"
],
"preExecutionAccounts": [
{
"data": [
"",
"base64"
],
"executable": true,
"lamports": 5299606121,
"owner": "BPFLoader2111111111111111111111111111111111",
"rentEpoch": 324,
"space": 134080
}
],
"postExecutionAccounts": [
{
"data": [
"",
"base64"
],
"executable": true,
"lamports": 5299606121,
"owner": "BPFLoader2111111111111111111111111111111111",
"rentEpoch": 324,
"space": 134080
}
],
"returnData": {
"programId": "Fx9Hp1gLzYj6Ryc4GaVoq2v6t4NxWg3GT1kP7quzZbVQ",
"data": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASjD8="
},
"unitsConsumed": 450
},
{
"err": null,
"logs": [
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program 11111111111111111111111111111111 invoke [1]",
"Program 11111111111111111111111111111111 success"
],
"postExecutionAccounts": null,
"preExecutionAccounts": null,
"returnData": null,
"unitsConsumed": 450
}
]
}
}
}The JSON-RPC protocol version.
2.0 "2.0"
A unique identifier for the request.
"1"
The name of the RPC method to invoke.
simulateBundle "simulateBundle"
Parameters for simulating a JITO bundle.
Show child attributes
Was this page helpful?
curl --request POST \
--url 'https://mainnet.helius-rpc.com/?api-key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": "1",
"method": "simulateBundle",
"params": [
{
"encodedTransactions": [
"5rqF8aHfs9JyEtKTvND6z8RgBtYxQwZLndS1kzHxV7D3kWm9VoYRzFtsP3qra5bM8rGhC v82LYo8fZpQoyQmtN1D9vxG2uEsMhV7jB4KdADRgxMXn5kRJzLZPt2LrPSmcUhfEmeQa7X rKeR9FHdKcXxZ1Hdq68oBr2AaPpTMuL85KDCt",
"5rqF8aHfs9JyEtKTvND6z8RgBtYxQwZLndS1kzHxV7D3kWm9VoYRzFtsP3qra5bM8rGhC v82LYo8fZpQoyQmtN1D9vxG2uEsMhV7jB4KdADRgxMXn5kRJzLZPt2LrPSmcUhfEmeQa7X rKeR9FHdKcXxZ1Hdq68oBr2AaPpTMuL85KDCt"
]
},
{
"preExecutionAccountsConfigs": [
{
"addresses": [
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
],
"encoding": "base64"
},
null
],
"postExecutionAccountsConfigs": [
{
"addresses": [
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
],
"encoding": "base64"
},
null
],
"skipSigVerify": true,
"simulationBank": {
"commitment": {
"commitment": "processed"
}
},
"transactionEncoding": "base64",
"replaceRecentBlockhash": false
}
]
}
'{
"jsonrpc": "2.0",
"id": "1",
"result": {
"context": {
"apiVersion": "2.30.10",
"slot": 373999891
},
"value": {
"summary": "succeeded",
"transactionResults": [
{
"err": null,
"logs": [
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program 11111111111111111111111111111111 invoke [1]",
"Program 11111111111111111111111111111111 success"
],
"preExecutionAccounts": [
{
"data": [
"",
"base64"
],
"executable": true,
"lamports": 5299606121,
"owner": "BPFLoader2111111111111111111111111111111111",
"rentEpoch": 324,
"space": 134080
}
],
"postExecutionAccounts": [
{
"data": [
"",
"base64"
],
"executable": true,
"lamports": 5299606121,
"owner": "BPFLoader2111111111111111111111111111111111",
"rentEpoch": 324,
"space": 134080
}
],
"returnData": {
"programId": "Fx9Hp1gLzYj6Ryc4GaVoq2v6t4NxWg3GT1kP7quzZbVQ",
"data": "AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASjD8="
},
"unitsConsumed": 450
},
{
"err": null,
"logs": [
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program ComputeBudget111111111111111111111111111111 invoke [1]",
"Program ComputeBudget111111111111111111111111111111 success",
"Program 11111111111111111111111111111111 invoke [1]",
"Program 11111111111111111111111111111111 success"
],
"postExecutionAccounts": null,
"preExecutionAccounts": null,
"returnData": null,
"unitsConsumed": 450
}
]
}
}
}