Options for preparing a user operation.

interface PrepareUserOperationOptions {
    calls: readonly {
        data: `0x${string}`;
        to: `0x${string}`;
        value: bigint;
    }[];
    network: EvmUserOperationNetwork;
    paymasterUrl?: string;
    smartAccount: EvmSmartAccount;
}

Properties

calls: readonly { data: `0x${string}`; to: `0x${string}`; value: bigint }[]

The calls.

The network.

paymasterUrl?: string

The paymaster URL.

smartAccount: EvmSmartAccount

The smart account.