pub struct Options {
pub gas: Option<U256>,
pub gas_price: Option<U256>,
pub value: Option<U256>,
pub nonce: Option<U256>,
pub condition: Option<TransactionCondition>,
pub transaction_type: Option<U64>,
pub access_list: Option<AccessList>,
pub max_fee_per_gas: Option<U256>,
pub max_priority_fee_per_gas: Option<U256>,
pub call_options: Option<CallOptions>,
}
Expand description
Contract Call/Query Options
Fields§
§gas: Option<U256>
Fixed gas limit
gas_price: Option<U256>
Fixed gas price
value: Option<U256>
Value to transfer
nonce: Option<U256>
Fixed transaction nonce
condition: Option<TransactionCondition>
A condition to satisfy before including transaction.
transaction_type: Option<U64>
Transaction type, Some(1) for AccessList transaction, None for Legacy
access_list: Option<AccessList>
Access list
max_fee_per_gas: Option<U256>
Max fee per gas
max_priority_fee_per_gas: Option<U256>
miner bribe
call_options: Option<CallOptions>
Implementations§
Trait Implementations§
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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