pub struct FeeInfo {
pub network_fee: Option<String>,
pub service_fee: Option<String>,
pub gas_price: Option<String>,
pub l1network_fee: Option<String>,
pub l2network_fee: Option<String>,
pub paid_by_relay: Option<bool>,
pub relay_type: Option<String>,
pub relay_id: Option<String>,
pub relay_name: Option<String>,
pub fee_usd: Option<String>,
}Expand description
FeeInfo : Details of the transaction fees.
Fields§
§network_fee: Option<String>The fee paid to the network.
service_fee: Option<String>The total fee deducted by the exchange from the actual requested amount (serviceFee = amount - netAmount).
gas_price: Option<String>The amount of gas required by/paid to the network to process the transaction.
l1network_fee: Option<String>Layer 1 network fee for Layer 2 blockchain transactions
l2network_fee: Option<String>Layer 2 network fee (gas price component for Layer 2 transactions)
paid_by_relay: Option<bool>Indicates whether the relay paid the fee.
relay_type: Option<String>Indicates whether the relay is the same tenant (LOCAL) or another
tenant (THIRD_PARTY).
relay_id: Option<String>The Vault account ID of the relay.
relay_name: Option<String>The name of the tenant hosting the third-party relay.
fee_usd: Option<String>The USD equivalent value of the fee
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FeeInfo
impl<'de> Deserialize<'de> for FeeInfo
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
impl StructuralPartialEq for FeeInfo
Auto Trait Implementations§
impl Freeze for FeeInfo
impl RefUnwindSafe for FeeInfo
impl Send for FeeInfo
impl Sync for FeeInfo
impl Unpin for FeeInfo
impl UnwindSafe for FeeInfo
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