Enum web30::types::SendTxOption
source · pub enum SendTxOption {
GasMaxFee(Uint256),
GasPriorityFee(Uint256),
GasLimitMultiplier(f32),
GasMaxFeeMultiplier(f32),
GasLimit(Uint256),
Nonce(Uint256),
AccessList(Vec<(Address, Vec<Uint256>)>),
GasPrice(Uint256),
GasPriceMultiplier(f32),
NetworkId(u64),
}
Expand description
Used to configure send_transaction
Variants§
GasMaxFee(Uint256)
GasPriorityFee(Uint256)
GasLimitMultiplier(f32)
GasMaxFeeMultiplier(f32)
GasLimit(Uint256)
Nonce(Uint256)
AccessList(Vec<(Address, Vec<Uint256>)>)
GasPrice(Uint256)
GasPriceMultiplier(f32)
NetworkId(u64)
Trait Implementations§
source§impl Clone for SendTxOption
impl Clone for SendTxOption
source§fn clone(&self) -> SendTxOption
fn clone(&self) -> SendTxOption
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 Debug for SendTxOption
impl Debug for SendTxOption
source§impl PartialEq for SendTxOption
impl PartialEq for SendTxOption
source§fn eq(&self, other: &SendTxOption) -> bool
fn eq(&self, other: &SendTxOption) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SendTxOption
Auto Trait Implementations§
impl Freeze for SendTxOption
impl RefUnwindSafe for SendTxOption
impl Send for SendTxOption
impl Sync for SendTxOption
impl Unpin for SendTxOption
impl UnwindSafe for SendTxOption
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