1. Create Predicates
Usestorage to wait for contract state. Use block_number and flashblock_index to constrain the candidate position. Every predicate must match.
Predicate setup
mask to compare the full storage word. Use flashblock_index to target a position within a Flashblock. Valid flashblock_index values range from 1 through 10, inclusive; the example uses 0x2 (index 2).
2. Sign an EIP-1559 Transaction
Use the sender’s next nonce. The signed payload becomes the first RPC parameter.Sign transaction
3. Submit the Transaction
Pass the signed transaction andvalidity as separate parameters.
Submit transaction
4. Check Inclusion
The RPC returns a transaction hash. Useeth_getTransactionReceipt to check for an onchain receipt.
For field definitions, see Validity Transaction RPC.