Function evmGetPubkeyFromSignature

  • Get an EVM public key from a signature.

    Returns

    The EVM public key corresponding to the signature, serialized as a StaticArray<u8>.

    Parameters

    • hash: StaticArray<number>

      Hashed 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

    Returns StaticArray<u8>

Generated using TypeDoc