block

Set conditions around block mining state

Schema

Property

Required

Description

type

Yes

"block"

block

Yes

A block number. Must be an integer greater than 0.

state

Yes

Can be MINED or NOT_MINED

  • *MINED**: Allow execution if block has been mined.
  • *NOT_MINED**: Allow execution if block has not been mined.

Both MINED and NOT_MINED are inclusive of the current block that the solver is attempting to run the transaction in.

Example

{
  type: 'block',
  block: 21_000_000,
  state: 'NOT_MINED'
}