index/functions/feeCeilingFromQuotedFee.md
feeCeilingFromQuotedFee(
quotedFee,feeSlippageFactor):string
The quoted fee plus fee slippage, rounded UP to the chain's 8 decimals so the ceiling can never end up below the fee the chain computes (the chain also rounds its fee up).
quoted fee slippage factor
Parameters
| Parameter | Type |
|---|---|
quotedFee | string |
feeSlippageFactor | number |
quoted fee slippage factor
Returns
string
Example
feeCeilingFromQuotedFee('0.00003328', 0.01) // '0.00003362'