[Go to site: main page, start]

Skip to main content
POST
simulateBundle

Request Parameters

object
required
First configuration object. Contains the encoded transactions for the simulation.
array
Array of encoded, serialized transactions for simulation. The encoding is determined by the transactionEncoding field (base-64 by default).
object
Second configuration object. Optional.
array
required
Specifies which accounts to capture during simulation.This captures the account states before the transaction is executed.An array element at an index configures the transaction that is at the same index in the bundle.For each transaction in the bundle:
  • Pass null if you do not want any account state to be returned.
  • Or, provide an object describing which accounts to return.
The array length must be equal to the number of transactions in the bundle.
array
required
Specifies which accounts to capture during simulation.This captures the account states after the transaction is executed.An array element at an index configures the transaction that is at the same index in the bundle.For each transaction in the bundle:
  • Pass null if you do not want any account state to be returned.
  • Or, provide an object describing which accounts to return.
The array length must be equal to the number of transactions in the bundle.
string
default:"base64"
The transaction encoding used in encodedTransactions.
  • base64
  • base58
any
Specified which bank to run the simulation against. Can be the tip, a slot, or a commitment level.
boolean
default:"false"
Whether to skip signature verification before simulation.
boolean
default:"false"
Whether to replace the simulated transaction’s recent blockhash with the latest blockhash.

Authorizations

api-key
string
query
required

Your Helius API key. You can get one for free in the dashboard.

Body

application/json
jsonrpc
enum<string>
default:2.0

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string
default:1

A unique identifier for the request.

Example:

"1"

method
enum<string>
default:simulateBundle

The name of the RPC method to invoke.

Available options:
simulateBundle
Example:

"simulateBundle"

params
object[]

Parameters for simulating a JITO bundle.

Response

Successfully simulated the bundle.

jsonrpc
enum<string>

The JSON-RPC protocol version.

Available options:
2.0
Example:

"2.0"

id
string

Identifier matching the request.

Example:

"1"

result
object

Result of the simulated bundle.