Skip to main content

dryRunTransaction Query

Simulates a transaction without actually broadcasting it.

Updated on
Oct 16, 2024

Parameters

encodedTransaction
string
REQUIRED

The transaction encoded as a hex string

utxoValidation
boolean
REQUIRED

A boolean flag for UTXO validation

Returns

data
object

The data object which contains the following fields:

dryRun
array

An array containing the result of the simulated transaction.

receiptType
string

The type of receipt generated by the simulation

data
string

The hexadecimal data associated with the transaction outcome

extensions
object

GraphQL response metadata returned by the Fuel node.

current_consensus_parameters_version
integer

The current consensus parameters version

current_fuel_block_height
integer

The current Fuel block height

current_stf_version
integer

The current STF version

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free