pub struct Account {Show 13 fields
pub address: String,
pub block: Option<u64>,
pub balance: Hnt,
pub staked_balance: Hnt,
pub dc_balance: u64,
pub sec_balance: Hst,
pub nonce: u64,
pub iot_balance: Iot,
pub mobile_balance: Mobile,
pub sec_nonce: u64,
pub dc_nonce: u64,
pub speculative_nonce: u64,
pub speculative_sec_nonce: u64,
}
Expand description
Represents a wallet on the blockchain.
Fields§
§address: String
The wallet address is the base58 check-encoded public key of the wallet.
block: Option<u64>
Block height of the API when query was made. When null, there is no on-chain record of this account.
balance: Hnt
The latest HNT balance of the wallet at block height
staked_balance: Hnt
The latest staked_balance of the wallet at block height
dc_balance: u64
The data credit balance of the wallet known at block height
sec_balance: Hst
The security token balance of the wallet at block height
nonce: u64
The current nonce for the account
iot_balance: Iot
The latest IOT balance of the wallet at block height
mobile_balance: Mobile
The latest MOB balance of the wallet at block height
sec_nonce: u64
The current sec_nonce for the account
dc_nonce: u64
The current dc_nonce for the account
speculative_nonce: u64
The speculative nonce for the account
speculative_sec_nonce: u64
The speculative security nonce for the account
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Account
impl<'de> Deserialize<'de> for Account
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 Account
impl RefUnwindSafe for Account
impl Send for Account
impl Sync for Account
impl Unpin for Account
impl UnwindSafe for Account
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