Docs

GetUserOpHashParams

Represents the parameters for the "getUserOpHash" function.

type GetUserOpHashParams = {
userOp: AbiParameterToPrimitiveType<{
components: [
{ name: "sender"; type: "address" },
{ name: "nonce"; type: "uint256" },
{ name: "initCode"; type: "bytes" },
{ name: "callData"; type: "bytes" },
{ name: "callGasLimit"; type: "uint256" },
{ name: "verificationGasLimit"; type: "uint256" },
{ name: "preVerificationGas"; type: "uint256" },
{ name: "maxFeePerGas"; type: "uint256" },
{ name: "maxPriorityFeePerGas"; type: "uint256" },
{ name: "paymasterAndData"; type: "bytes" },
{ name: "signature"; type: "bytes" },
];
name: "userOp";
type: "tuple";
}>;
};