getUserOpGasFees

Get the gas fees of a user operation.

Example

import { getUserOpGasPrice } from "thirdweb/wallets/smart";
const fees = await getUserOpGasPrice({
options,
});
function getUserOpGasFees(args: {
options: BundlerOptions;
}): Promise<GasPriceResult>;

Parameters

The options for getting the gas price of a user operation.

Type

let args: { options: BundlerOptions };

Returns

let returnType: Promise<GasPriceResult>;

The gas price of the user operation.