function applyUserOpOverrideOrFeeOption<TValue>(
value,
override?,
feeOption?,
): any;Defined in: aa-sdk/core/src/utils/userop.ts:145
Utility method for applying a UserOperationOverrides field value and a UserOperationFeeOptionsField value over the current value set for the field, with the override taking precedence over the fee option
| Type Parameter |
|---|
|
| Parameter | Type | Description |
|---|---|---|
|
| the current value of the field |
|
| the override value to apply |
|
| the fee option field value to apply |
any
the new value of the field after applying the override or fee option