Skip to content
docs

AcrossSuggestedFees

AcrossSuggestedFees = { estimatedFillTimeSec: number; kind: "fees"; timestamp: number; totalRelayFee: bigint; } | { detail: string; kind: "refused"; reason: Swap2RefusalReason; } | { detail: string; kind: "unavailable"; }

Defined in: protocol-swap2-across/src/api.ts:219

What /suggested-fees answered, as the pricing rule reads it.

{ estimatedFillTimeSec: number; kind: "fees"; timestamp: number; totalRelayFee: bigint; }

A relayer fee for this exact deposit.


{ detail: string; kind: "refused"; reason: Swap2RefusalReason; }

Across says relayers will not take this deposit (too small, too large, the route not enabled): refuse.


{ detail: string; kind: "unavailable"; }

No usable answer (unreachable, another shape, stale): the pinned floor stands in.