@vechain/sdk-network
Version:
This module serves as the standard interface connecting decentralized applications (dApps) and users to the VeChainThor blockchain
20 lines (17 loc) • 471 B
text/typescript
/**
* The account details represent the balance, energy & whether the account is a smart contract.
*/
export interface AccountData {
/**
* The hexadecimal expression of the wei VET value of the balance.
*/
balance: string;
/**
* The hexadecimal expression of the wei VTHO value of the energy balance.
*/
energy: string;
/**
* Whether the account is a smart contract (i.e., hasCode is true)
*/
hasCode: boolean;
}