dsteem
    Preparing search index...

    Class PublicKey

    ECDSA (secp256k1) public key.

    Indexable

    • [key: symbol]: () => string
    Index

    Constructors

    • Parameters

      • key: Buffer
      • prefix: string = DEFAULT_ADDRESS_PREFIX

      Returns PublicKey

    Properties

    key: Buffer
    prefix: string = DEFAULT_ADDRESS_PREFIX

    Methods

    • Used by utils.inspect and console.log in node.js.

      Returns string

    • Return JSON representation of this key, same as toString().

      Returns string

    • Return a WIF-encoded representation of the key.

      Returns string

    • Verify a 32-byte signature.

      Parameters

      • message: Buffer

        32-byte message to verify.

      • signature: Signature

        Signature to verify.

      Returns boolean