pub struct EstimateFeeData {
pub high: Option<TransactionFee>,
pub low: Option<TransactionFee>,
pub medium: Option<TransactionFee>,
pub call_gas_limit: Option<String>,
pub verification_gas_limit: Option<String>,
pub pre_verification_gas: Option<String>,
}Expand description
Fee estimation breakdown for a transaction.
Fields§
§high: Option<TransactionFee>High-priority fee estimate.
low: Option<TransactionFee>Low-priority fee estimate.
medium: Option<TransactionFee>Medium-priority fee estimate.
call_gas_limit: Option<String>ERC-4337 call gas limit.
verification_gas_limit: Option<String>ERC-4337 verification gas limit.
pre_verification_gas: Option<String>ERC-4337 pre-verification gas.
Trait Implementations§
Source§impl Clone for EstimateFeeData
impl Clone for EstimateFeeData
Source§fn clone(&self) -> EstimateFeeData
fn clone(&self) -> EstimateFeeData
Returns a duplicate 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 EstimateFeeData
impl Debug for EstimateFeeData
Source§impl Default for EstimateFeeData
impl Default for EstimateFeeData
Source§fn default() -> EstimateFeeData
fn default() -> EstimateFeeData
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EstimateFeeData
impl<'de> Deserialize<'de> for EstimateFeeData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EstimateFeeData
impl RefUnwindSafe for EstimateFeeData
impl Send for EstimateFeeData
impl Sync for EstimateFeeData
impl Unpin for EstimateFeeData
impl UnsafeUnpin for EstimateFeeData
impl UnwindSafe for EstimateFeeData
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