pub struct AssetWallet {
pub vault_id: Option<String>,
pub asset_id: Option<String>,
pub available: Option<String>,
pub total: Option<String>,
pub pending: Option<String>,
pub staked: Option<String>,
pub frozen: Option<String>,
pub locked_amount: Option<String>,
pub block_height: Option<Option<String>>,
pub block_hash: Option<Option<String>>,
pub creation_timestamp: Option<String>,
}
Fields§
§vault_id: Option<String>
ID of the vault account. You can get the vault account by this ID to retrieve vault properties such as its name, auto fueling, hidden on UI or customer reference ID.
asset_id: Option<String>
ID of the asset. You can get more information about this asset by using the supported assets API
available: Option<String>
Available balance, available to use in a transaction.
total: Option<String>
Total balance at the asset wallet, as seen at the blockchain explorers. This includes balance available, and any kind of unavailable balance such as locked, frozen, or others.
pending: Option<String>
Pending balance (an incoming transaction that hasn’t yet reached the necessary number of confirmations)
staked: Option<String>
Staked balance (for DOT staking with Raw signing only)
frozen: Option<String>
Funds frozen due to the anti-money laundering policy at this workspace.
locked_amount: Option<String>
Locked balance.
block_height: Option<Option<String>>
The height (number) of the block of the balance. Can by empty.
block_hash: Option<Option<String>>
The hash of the block of the balance. Can by empty.
creation_timestamp: Option<String>
Unix timestamp of the time the asset wallet was created.
Implementations§
Source§impl AssetWallet
impl AssetWallet
pub fn new() -> AssetWallet
Trait Implementations§
Source§impl Clone for AssetWallet
impl Clone for AssetWallet
Source§fn clone(&self) -> AssetWallet
fn clone(&self) -> AssetWallet
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more