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 U32!.

args

startTimestamp: Tai64Timestamp!

The start time of the produced block.

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.

Was this page helpful?

Icon ListDetailsOn this page