Represents a VeChain account.

Implements

Constructors

Properties

address: Address
balance: Currency
transactions: string[]

Accessors

  • get bi(): bigint
  • Throws an exception because the account cannot be represented as a big integer.

    Returns bigint

    The BigInt representation of the account.

    The account cannot be represented as a bigint. VeChainDataModel#bi

    The conversion to BigInt is not supported for an account.

  • get bytes(): Uint8Array
  • Throws an exception because the account cannot be represented as a byte array.

    Returns Uint8Array

    The byte array representation of the account.

    The account cannot be represented as a byte array. VeChainDataModel#bytes

    The conversion to byte array is not supported for an account.

  • get n(): number
  • Throws an exception because the account cannot be represented as a number.

    Returns number

    The number representation of the account.

    The account cannot be represented as a number. VeChainDataModel#n

    The conversion to number is not supported for an account.

Methods