bundleUserOp

Bundle a user operation.

Example

import { bundleUserOp } from "thirdweb/wallets/smart";
const userOpHash = await bundleUserOp({
userOp,
options,
});
function bundleUserOp(args: {
options: BundlerOptions;
userOp: UserOperation;
}): Promise<Hex>;

Parameters

The options for bundling a user operation.

Type

let args: { options: BundlerOptions; userOp: UserOperation };

Returns

let returnType: `0x${string}`;

The bundle hash of the user operation.