pub struct EIP1559Transaction {
pub chain_id: u64,
pub nonce: Vec<u8>,
pub max_priority_fee_per_gas: Vec<u8>,
pub max_fee_per_gas: Vec<u8>,
pub gas_limit: Vec<u8>,
pub recipient: [u8; 20],
pub value: Vec<u8>,
pub data: Vec<u8>,
}
Fields§
§chain_id: u64
§nonce: Vec<u8>
Nonce must be big-endian encoded, no trailing zeroes.
max_priority_fee_per_gas: Vec<u8>
Max priority fee must be big-endian encoded, no trailing zeroes.
max_fee_per_gas: Vec<u8>
max fee must be big-endian encoded, no trailing zeroes.
gas_limit: Vec<u8>
Gas limit must be big-endian encoded, no trailing zeroes.
recipient: [u8; 20]
§value: Vec<u8>
Value must be big-endian encoded, no trailing zeroes.
data: Vec<u8>
Auto Trait Implementations§
impl Freeze for EIP1559Transaction
impl RefUnwindSafe for EIP1559Transaction
impl Send for EIP1559Transaction
impl Sync for EIP1559Transaction
impl Unpin for EIP1559Transaction
impl UnwindSafe for EIP1559Transaction
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