Skip to main content
POST
simulateTransaction

Request Parameters

string
required
The signed transaction, as an encoded string (base58 or base64).
string
Encoding used for the transaction data.
  • base58
  • base64
boolean
Skip the preflight transaction checks.
string
Commitment level to use for preflight.
  • confirmed
  • finalized
  • processed
boolean
If true, verify the transaction signatures.
boolean
If true, replace the transaction recent blockhash with the most recent one.
number
Minimum slot at which to perform preflight transaction checks.
boolean
If true, include inner instructions in the response.
object
array
Array of accounts to return, as base-58 encoded strings.
string
Encoding format for returned account data.
  • base64
  • base58
  • base64+zstd
  • jsonParsed

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:simulateTransaction

The name of the RPC method to invoke.

Available options:
simulateTransaction
Example:

"simulateTransaction"

params
(string | object)[]

Parameters for simulating a transaction.

The signed transaction, as an encoded string (base58 or base64).

Example:

"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEDArczbMia1tLmq7zz4DinMNN0pJ1JtLdqIJPUw3YrGCzYAMHBsgN27lcgB6H2WQvFgyZuJYHa46puOQo9yQ8CVQbd9uHXZaGT2cvhRs7reawctIXtX1s3kTqM9YV+/wCp20C7Wj2aiuk5TReAXo+VTVg8QTHjs0UjNMMKCvpzZ+ABAgEBARU="

Response

Successfully simulated the transaction.

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 transaction.