readAcrossSuggestedFees
readAcrossSuggestedFees(
request,route,status,body,nowS):AcrossSuggestedFees
Defined in: protocol-swap2-across/src/api.ts:255
A /suggested-fees answer for a request, at nowS. Across’s own refusals of the deposit — any 400 it answers
(AMOUNT_TOO_LOW, AMOUNT_TOO_HIGH, ROUTE_NOT_ENABLED, INVALID_PARAM for a token or a chain it does not serve,
or a code this module does not know), isAmountTooLow, an amount outside limits — and a SpokePool other than the
pinned one are refused; no answer, another status, or one that is not a clean, consistent, fresh answer is
unavailable (the pinned floor may then stand in).
Parameters
Section titled “Parameters”request
Section titled “request”status
Section titled “status”number
unknown
number