Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PublicAccount

The public account structure contains account's address and public key.

Hierarchy

  • PublicAccount

Index

Properties

Readonly address

address: Address

Readonly publicKey

publicKey: string

Methods

equals

toBuilder

  • toBuilder(): PublicKeyDto

toDTO

  • toDTO(): any

verifySignature

  • verifySignature(data: string, signature: string): boolean
  • Verify a signature.

    Parameters

    • data: string

      The data to verify.

    • signature: string

      The signature to verify.

    Returns boolean

    • True if the signature is valid, false otherwise.

Static createFromPublicKey

Generated using TypeDoc