const getDefaultUserOperationFeeOptions: (chain) => UserOperationFeeOptions;Defined in: account-kit/infra/dist/types/defaults.d.ts:17
Retrieves the default user operation fee options for a given chain. Adjusts fees for specific chains like Arbitrum and Optimism.
import { getDefaultUserOperationFeeOptions } from "@account-kit/infra";
import { arbitrum } from "@account-kit/infra";
const feeOpts = getDefaultUserOperationFeeOptions(arbitrum);| Parameter | Type | Description |
|---|---|---|
|
| The blockchain chain for which to get the fee options |
UserOperationFeeOptions
An object containing the default fee options for user operations on the specified chain