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§
Get the EIP-7702 authorization list for the transaction.
Sets the EIP-7702 authorization list.
Provided Methods§
Builder-pattern method for setting the authorization list.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.