Documentation
    Preparing search index...

    Function equivalentSignatures

    • Signatures a signer could have issued that verify the same as signature.

      ECDSA signatures are malleable: (r, s) and (r, n - s) are both valid. EIP-191 signatures additionally carry a recovery byte v that wallets return as 27/28 or 0/1. Verifiers also accept EIP-155 style v >= 35, but no signer issues those for personal_sign, so they are not listed.

      The result always includes signature itself. Other algorithms (Ed25519, RSA) have a single valid signature.

      Parameters

      Returns Uint8Array<ArrayBufferLike>[]