Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAccount

Hierarchy

  • IAccount

Implemented by

Index

Properties

address

address: string

privateKey

privateKey: string

publicKey

publicKey: string

Methods

hashMessage

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

recover

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

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

    Returns String

sign

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

Generated using TypeDoc