Skip to content
Alchemy Logo

applyUserOpFeeOption

function applyUserOpFeeOption<TValue>(value, feeOption?): any;

Defined in: aa-sdk/core/src/utils/userop.ts:116

Utility method for applying a UserOperationFeeOptionsField value over the current value set for the field

Type Parameter

TValue extends any

ParameterTypeDescription

value

TValue

the current value of the field

feeOption?

any

the override value to apply

any

the new value of the field after applying the override

Was this page helpful?