Function verifyBytes

  • verifyBytes takes array of bytes, an address, and a signature and verifies if the signature is correct for the public key and the bytes (the bytes should have been signed with "MX" prepended for domain separation).

    Parameters

    • bytes: Uint8Array

      Uint8Array

    • signature: Uint8Array

      binary signature

    • addr: string | Address

      string address

    Returns boolean

    bool

Generated using TypeDoc