applyUserOpFeeOption

1function 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 Parameters

Type Parameter

TValue extends any

Parameters

ParameterTypeDescription

value

TValue

the current value of the field

feeOption?

any

the override value to apply

Returns

any

the new value of the field after applying the override