pub struct CoinChain {Show 13 fields
pub chain: String,
pub chain_type: String,
pub confirmation: String,
pub withdraw_fee: Option<Decimal>,
pub deposit_min: Option<Decimal>,
pub withdraw_min: Option<Decimal>,
pub min_accuracy: String,
pub chain_deposit: String,
pub chain_withdraw: String,
pub withdraw_percentage_fee: Option<Decimal>,
pub contract_address: Option<String>,
pub safe_confirm_number: String,
pub withdraw_max: String,
}Expand description
Part of the response of /v5/asset/coin/query-info.
Fields§
§chain: StringChain.
chain_type: StringChain type.
confirmation: StringNumber of block confirmations required to credit a deposit
withdraw_fee: Option<Decimal>Fixed withdrawal fee. Empty if withdrawal isn’t supported
deposit_min: Option<Decimal>Min. deposit.
withdraw_min: Option<Decimal>Min. withdraw.
min_accuracy: StringDecimal precision for transactions on this chain
chain_deposit: String“0”: suspended, “1”: active
chain_withdraw: String“0”: suspended, “1”: active
withdraw_percentage_fee: Option<Decimal>The withdraw fee percentage. It is a real figure, e.g., 0.022 means 2.2%.
contract_address: Option<String>Contract address. “” means no contract address.
safe_confirm_number: StringNumber of security confirmations: Once this number is reached, your USD equivalent worth funds will be fully unlocked and available for withdrawal.
withdraw_max: StringMaximum withdrawal per transaction. “-1” means unlimited
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CoinChain
impl<'de> Deserialize<'de> for CoinChain
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 CoinChain
Auto Trait Implementations§
impl Freeze for CoinChain
impl RefUnwindSafe for CoinChain
impl Send for CoinChain
impl Sync for CoinChain
impl Unpin for CoinChain
impl UnsafeUnpin for CoinChain
impl UnwindSafe for CoinChain
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