Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Account

An account key pair (public and secret keys).

Hierarchy

  • Account

Index

Constructors

Accessors

Constructors

constructor

  • new Account(secretKey?: Buffer | 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: Buffer | Uint8Array | number[]

      Secret key for the account

    Returns Account

Accessors

publicKey

secretKey

  • get secretKey(): Buffer
  • The unencrypted secret key for this account

    Returns Buffer

Generated using TypeDoc