CDP Frontend SDK
    Preparing search index...

    Function signEvmHash

    • Signs a hash with an EVM account.

      Parameters

      • options: SignEvmHashOptions

        The options for the signing.

        Request parameters for signing a hash with an EVM account.

        • evmAccount: EvmAddress

          The EVM account to sign the hash with.

        • hash: Hex

          The hash to sign.

      Returns Promise<SignEvmHashResult>

      The result of the signing.

      const result = await signEvmHash({
      evmAccount: "0x1234...",
      hash: "0xabcd..." // 32-byte hex string to sign
      });