The account details represent the balance, energy & whether the account is a smart contract.

interface AccountData {
    balance: string;
    energy: string;
    hasCode: boolean;
}

Implemented by

Properties

balance: string

The hexadecimal expression of the wei VET value of the balance.

energy: string

The hexadecimal expression of the wei VTHO value of the energy balance.

hasCode: boolean

Whether the account is a smart contract (i.e., hasCode is true)