Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Account

Implements

Index

Properties

address

address: string

privateKey

privateKey: string

publicKey

publicKey: string

Methods

hashMessage

  • hashMessage(data: string | Buffer | Uint8Array): Buffer

recover

  • recover(message: string | Buffer | Uint8Array, signature: Buffer, preFixed: boolean): String
  • Parameters

    • message: string | Buffer | Uint8Array
    • signature: Buffer
    • preFixed: boolean

    Returns String

sign

  • sign(data: string | Buffer | Uint8Array): Buffer

Static fromAddress

  • fromAddress(address: string): IAccount

Static fromPrivateKey

  • fromPrivateKey(privateKey: string): IAccount

Generated using TypeDoc