Function isEvmSignatureValid

  • Checks if an EVM signature is valid.

    Returns

    'true' if the signature is valid, 'false' otherwise.

    Parameters

    • data: StaticArray<number>

      The data that was signed.

    • signature: StaticArray<number>

      Expects a SECP256K1 signature in full ETH format. Format: (r, s, v) v will be ignored. Length: 65 bytes

    • publicKey: StaticArray<number>

      Expects a SECP256K1 public key in raw format. Length: 64 bytes

    Returns bool

Generated using TypeDoc