Set conditions around block mining state

Schema

PropertyRequiredDescription
typeYes"block"
blockYesA block number. Must be an integer greater than 0.
stateYesCan 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'
}