acrossQuoteFeesOf
acrossQuoteFeesOf(
route,fee):Pick<Quote,"fees"|"feeUsd">
Defined in: protocol-swap2-across/src/verify.ts:445
What a quote shows of a deposit’s fee: fees — exactly one included protocol fee of input − output, in the input
token (the zero address for the native coin) — and feeUsd, the fee itself for a dollar stablecoin (USDC, USDT, one
unit a dollar) and 0 for an asset this module has no price for. The engine’s fee caps (maxProtocolFeeBps) and the
router’s scoring read these, so a quote is held to them exactly (checkAcrossQuote).
Parameters
Section titled “Parameters”bigint
Returns
Section titled “Returns”Pick<Quote, "fees" | "feeUsd">