pub struct TransactionFee {
pub gas_limit: Option<String>,
pub fee_per_byte: Option<String>,
pub gas_price: Option<String>,
pub network_fee: Option<String>,
pub base_fee: Option<String>,
pub priority_fee: Option<String>,
pub max_fee_per_gas_delta: Option<String>,
pub l1_fee: Option<String>,
}
Fields§
§gas_limit: Option<String>
Gas limit value for EVM based networks
fee_per_byte: Option<String>
The fee per byte value for UTXO based assets
gas_price: Option<String>
Gas price in gwei units for EVM based networks
network_fee: Option<String>
The full network fee price
base_fee: Option<String>
(optional) Base Fee according to EIP-1559 (ETH assets)
priority_fee: Option<String>
(optional) Priority Fee according to EIP-1559 (ETH assets)
max_fee_per_gas_delta: Option<String>
Max Fee Per Gas Delta added only for EIP-1559 (ETH assets)
l1_fee: Option<String>
Layer 1 fee for Layer 2 chains
Implementations§
Source§impl TransactionFee
impl TransactionFee
pub fn new() -> TransactionFee
Trait Implementations§
Source§impl Clone for TransactionFee
impl Clone for TransactionFee
Source§fn clone(&self) -> TransactionFee
fn clone(&self) -> TransactionFee
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 TransactionFee
impl Debug for TransactionFee
Source§impl Default for TransactionFee
impl Default for TransactionFee
Source§fn default() -> TransactionFee
fn default() -> TransactionFee
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransactionFee
impl<'de> Deserialize<'de> for TransactionFee
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
Source§impl PartialEq for TransactionFee
impl PartialEq for TransactionFee
Source§impl Serialize for TransactionFee
impl Serialize for TransactionFee
impl StructuralPartialEq for TransactionFee
Auto Trait Implementations§
impl Freeze for TransactionFee
impl RefUnwindSafe for TransactionFee
impl Send for TransactionFee
impl Sync for TransactionFee
impl Unpin for TransactionFee
impl UnwindSafe for TransactionFee
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