Skip to main content
function signEvmHash(options: SignEvmHashOptions): Promise<SignEvmHashResult>;
Signs a hash with an EVM account.

Parameters

ParameterTypeDescription
optionsSignEvmHashOptionsThe options for the signing.

Returns

Promise<SignEvmHashResult> The result of the signing.

Example

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