bundleUserOp

Bundle a user operation.

Example

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

Parameters

The options for bundling a user operation.

Type

let args: {
options: BundlerOptions;
userOp: UserOperationV06 | UserOperationV07;
};

Returns

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

The bundle hash of the user operation.