startSession
args:
id
: ID!
returns Boolean!
endSession
args:
id
: ID!
returns Boolean!
reset
args:
id
: ID!
returns Boolean!
execute
args:
id
: ID!
op
: String!
returns Boolean!
setSingleStepping
args:
id
: ID!
enable
: boolean
returns Boolean!
setBreakpoint
args:
id
: ID!
breakpoint
: Breakpoint!
returns Boolean!
startTx
args:
id
: ID!
txJson
: String!
returns RunResult!
continueTx
args:
id
: ID!
returns RunResult!
dryRun
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.
produceBlocks
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.
submit
A mutation that submits transaction to the transaction pool and returns a Transaction!
.
args:
tx
: HexString!
The transaction hex string.