Options
All
  • Public
  • Public/Protected
  • All
Menu

An account key pair (public and secret keys).

deprecated

since v1.10.0, please use Keypair instead.

Hierarchy

  • Account

Index

Constructors

Accessors

Constructors

  • new Account(secretKey?: Uint8Array | number[]): Account
  • Create a new Account object

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

    Parameters

    • Optional secretKey: Uint8Array | number[]

      Secret key for the account

    Returns Account

Accessors

  • The public key for this account

    Returns PublicKey

  • get secretKey(): Buffer

Generated using TypeDoc