applyFeeMultiplier
applyFeeMultiplier(
value
,feeOption
,floor
):number
Defined in: packages/helpers/src/modules/feeMultiplier.ts:77
Apply fee multiplier to a number value (for non-EVM chains).
Parameters
Section titled “Parameters”number
The base fee value as number
feeOption
Section titled “feeOption”FeeOption
= FeeOption.Average
The fee option (Average, Fast, Fastest)
boolean
= false
Whether to floor the result (default: false)
Returns
Section titled “Returns”number
The multiplied fee value as number