Trait InvalidTxError

pub trait InvalidTxError:
    Error
    + Send
    + Sync
    + 'static {
    // Required method
    fn is_nonce_too_low(&self) -> bool;
}
Available on crate feature evm only.
Expand description

Abstraction over transaction validation error.

Required Methods§

fn is_nonce_too_low(&self) -> bool

Returns whether the error cause by transaction having a nonce lower than expected.

Implementations on Foreign Types§

§

impl InvalidTxError for InvalidTransaction

§

impl InvalidTxError for OpTransactionError

Available on crate feature op only.

Implementors§