Request
Parameters
Signed or unsigned transaction, encoded as a base-58 or base-64 string.
Encoding of the
transaction parameter. base58 or base64. Defaults to base58.Whether to verify transaction signatures before simulating. Defaults to
false. Cannot be used together with replaceRecentBlockhash.Commitment level to use for the simulation. One of
processed, confirmed, or finalized.Replace the transaction’s
recentBlockhash with the latest blockhash before simulating. Useful for simulating transactions without having to fetch a fresh blockhash first.Response
null if the simulation succeeded. Contains the transaction error object if the simulation failed.Array of log messages produced by the programs invoked during the simulation.
Number of compute units consumed by the transaction.
Return data from the last program that set return data, or
null.Post-simulation account state, if requested via the
accounts config option.