Set conditions around nonce state

Schema

PropertyRequiredDescription
typeYes"nonce"
nonceYesA nonce. Must be an integer greater than 0.
stateYesCan be USED or NOT_USED

USED: Allow execution if nonce has set on chain
NOT_USED: Allow execution if nonce has not been set on chain.

Example

{
  type: 'nonce',
  nonce: 123,
  state: 'USED'
}