Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Jito Bundle Simulation

Test Jito bundles with simulateBundle on Triton's Jito-enabled RPC before you send them with sendBundle to the Jito Block Engine.

Triton supports Jito's simulateBundle method on every plan, so you can test atomic transaction bundles on a Jito-enabled RPC before submitting them. For more information, see the Jito searcher examples and Jito's low-latency transactions documentation.

simulateBundle

Simulates a bundle of signed transactions against one bank and returns a result for each transaction. Send it as a JSON-RPC POST to your Triton endpoint.

Parameters

Position
Type
Description

params[0] (required)

object

{ "encodedTransactions": [...] }: the bundle, up to 20 signed transactions, each base64-encoded. Duplicate transactions are rejected.

params[1]

object

Optional RpcSimulateBundleConfig controlling the simulation. If you pass it, preExecutionAccountsConfigs and postExecutionAccountsConfigs are required. See below.

Example request

curl https://<your-endpoint>.mainnet.rpcpool.com/<your-token> -s -X POST \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "simulateBundle",
    "params": [
      { "encodedTransactions": ["BASE64_SIGNED_TX_1", "BASE64_SIGNED_TX_2"] },
      {
        "preExecutionAccountsConfigs": [null, null],
        "postExecutionAccountsConfigs": [null, { "addresses": ["ACCOUNT_ADDRESS"] }]
      }
    ]
  }'

Each entry in preExecutionAccountsConfigs and postExecutionAccountsConfigs belongs to the transaction at the same position: null returns no accounts for it, and { "addresses": [...] } returns those accounts' state before or after it runs, base64-encoded.

Response

The JSON-RPC result is { "context": { "slot": ... }, "value": ... }, where value matches this Rust struct. JSON field names are camelCase (for example transactionResults and unitsConsumed), and summary is either "succeeded" or { "failed": { "error": ..., "tx_signature": ... } }.

RpcBundleExecutionError variants
RpcSimulateBundleConfig

simulationBank accepts { "commitment": { "commitment": "processed" } } (any commitment level), { "slot": <slot> } for a specific slot's bank, or "tip" for the RPC's highest slot, the working bank.

Billing

Simulating bundles on Triton's Jito-enabled RPC is billed as standard RPC. Current rates are on the pricing page. Submitting a bundle goes directly to the Jito Block Engine and is not billed by Triton.

What's next


Contact support by clicking the chat icon in your customer dashboard Sales questions? Contact us AI agent? Read llms.txt Follow updates: Blog · X · YouTube · Telegram · GitHub

Last updated