An account key pair (public and secret keys).

since v1.10.0, please use Keypair instead.

Constructors

Accessors

Constructors

  • Create a new Account object

    If the secretKey parameter is not provided a new key pair is randomly created for the account

    Parameters

    • OptionalsecretKey: number[] | Uint8Array

      Secret key for the account

    Returns Account

Accessors