pub struct SpanBatchEip7702TransactionData {
pub value: Uint<256, 4>,
pub max_priority_fee_per_gas: Uint<256, 4>,
pub max_fee_per_gas: Uint<256, 4>,
pub data: Bytes,
pub access_list: AccessList,
pub authorization_list: Vec<SignedAuthorization>,
}
Expand description
The transaction data for an EIP-7702 transaction within a span batch.
Fields§
§value: Uint<256, 4>
The ETH value of the transaction.
max_priority_fee_per_gas: Uint<256, 4>
Maximum priority fee per gas.
max_fee_per_gas: Uint<256, 4>
Maximum fee per gas.
data: Bytes
Transaction calldata.
access_list: AccessList
Access list, used to pre-warm storage slots through static declaration.
Authorization list, used to allow a signer to delegate code to a contract
Implementations§
Source§impl SpanBatchEip7702TransactionData
impl SpanBatchEip7702TransactionData
Sourcepub fn to_signed_tx(
&self,
nonce: u64,
gas: u64,
to: Address,
chain_id: u64,
signature: PrimitiveSignature,
) -> Result<Signed<TxEip7702>, SpanBatchError>
pub fn to_signed_tx( &self, nonce: u64, gas: u64, to: Address, chain_id: u64, signature: PrimitiveSignature, ) -> Result<Signed<TxEip7702>, SpanBatchError>
Converts SpanBatchEip7702TransactionData into a signed TxEip7702
.
Trait Implementations§
Source§impl Clone for SpanBatchEip7702TransactionData
impl Clone for SpanBatchEip7702TransactionData
Source§fn clone(&self) -> SpanBatchEip7702TransactionData
fn clone(&self) -> SpanBatchEip7702TransactionData
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl PartialEq for SpanBatchEip7702TransactionData
impl PartialEq for SpanBatchEip7702TransactionData
Source§fn eq(&self, other: &SpanBatchEip7702TransactionData) -> bool
fn eq(&self, other: &SpanBatchEip7702TransactionData) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for SpanBatchEip7702TransactionData
impl StructuralPartialEq for SpanBatchEip7702TransactionData
Auto Trait Implementations§
impl !Freeze for SpanBatchEip7702TransactionData
impl RefUnwindSafe for SpanBatchEip7702TransactionData
impl Send for SpanBatchEip7702TransactionData
impl Sync for SpanBatchEip7702TransactionData
impl Unpin for SpanBatchEip7702TransactionData
impl UnwindSafe for SpanBatchEip7702TransactionData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more