Module conditional_tx

Module conditional_tx 

Source
Expand description

eth_sendRawTransactionConditional — Arbitrum’s conditional tx submission RPC.

Lets a client attach predicates (block-number range, timestamp range, per-account storage roots / slot values) to a raw tx. The sequencer only accepts the tx if every predicate holds against the current chain state at submission time. Used by MEV-aware clients to fail fast when a trade opportunity has already been consumed.

Matches Nitro’s arbitrum_types.ConditionalOptions + SubmitConditionalTransaction in /go-ethereum/arbitrum/conditionaltx.go.

Structs§

ConditionalOptions
Conditional options attached to a raw tx.

Enums§

KnownAccountCondition
Per-account expected state:

Traits§

ConditionalTxApiServer
Server trait implementation for the ConditionalTxApi RPC API.

Functions§

check_simple_predicates
Check (block_number_*, timestamp_*) predicates against current chain state. Returns on the first predicate that fails.