getDefaultUserOperationFeeOptions

1function getDefaultUserOperationFeeOptions(chain): any;

Defined in: account-kit/infra/src/defaults.ts:26

Retrieves the default user operation fee options for a given chain. Adjusts fees for specific chains like Arbitrum and Optimism.

Example

1import { getDefaultUserOperationFeeOptions } from "@account-kit/infra";
2import { arbitrum } from "@account-kit/infra";
3
4const feeOpts = getDefaultUserOperationFeeOptions(arbitrum);

Parameters

ParameterTypeDescription

chain

Chain

The blockchain chain for which to get the fee options

Returns

any

An object containing the default fee options for user operations on the specified chain