Icon LinkMutations

Icon LinkdryRun

A mutation that spins up a new temporary node from the current state and emulates a given transaction. It returns a [Receipt!]! for the emulated transaction. You can optionally use UTXO validation.

args:

tx: HexString!

The transaction hex string.

utxoValidation: Boolean: Whether or not to use UTXO validation.

Icon LinkproduceBlocks

A mutation that produces blocks, that can be used for testing that requires block advancement. Returns a U64!.

args

blocksToProduce: U64!

The number of blocks to produce.

Icon Linksubmit

A mutation that submits transaction to the transaction pool and returns a Transaction!.

args

tx: HexString!

The transaction hex string.

Icon ListDetailsOn this page