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).

    Returns

    bool

    Parameters

    • bytes: Uint8Array

      Uint8Array

    • signature: Uint8Array

      binary signature

    • addr: string

      string address

    Returns boolean

Generated using TypeDoc