Trait alloy_network::TransactionBuilder7702

source ·
pub trait TransactionBuilder7702: Sized + Default + Send + Sync + 'static {
    // Required methods
    fn authorization_list(&self) -> Option<&Vec<SignedAuthorization>>;
    fn set_authorization_list(
        &mut self,
        authorization_list: Vec<SignedAuthorization>,
    );

    // Provided method
    fn with_authorization_list(
        self,
        authorization_list: Vec<SignedAuthorization>,
    ) -> Self { ... }
}
Expand description

Transaction builder type supporting EIP-7702 transaction fields.

Required Methods§

source

fn authorization_list(&self) -> Option<&Vec<SignedAuthorization>>

Get the EIP-7702 authorization list for the transaction.

source

fn set_authorization_list( &mut self, authorization_list: Vec<SignedAuthorization>, )

Sets the EIP-7702 authorization list.

Provided Methods§

source

fn with_authorization_list( self, authorization_list: Vec<SignedAuthorization>, ) -> Self

Builder-pattern method for setting the authorization list.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl TransactionBuilder7702 for TransactionRequest

source§

impl<T> TransactionBuilder7702 for WithOtherFields<T>

Implementors§