getUserOpHash

Calls the "getUserOpHash" function on the contract.

Example

import { getUserOpHash } from "thirdweb/extensions/erc4337";
const result = await getUserOpHash({
contract,
userOp: ...,
});
function getUserOpHash(
): Promise<`0x${string}`>;

Parameters

The options for the getUserOpHash function.

Type

Returns

let returnType: Promise<`0x${string}`>;

The parsed result of the function call.