getUserOpHash

Calls the "getUserOpHash" function on the contract.

Example

import { getUserOpHash } from "thirdweb/extensions/erc4337";
const result = await getUserOpHash({
contract,
userOp: ...,
});

Parameters

Returns

The parsed result of the function call.