Skip to content
docs

acrossPlainFee

acrossPlainFee(amount, v5, need, otherRail?): AcrossPlainFee

Defined in: protocol-swap2-across/src/pricing.ts:136

max(F5, Fneed); Fneed alone when V5 priced another rail (otherRail: F5 is then that rail’s price, kept for display only). Refuses a fee that eats the whole input (amount_too_small).

bigint

bigint

bigint

bigint

boolean = false

AcrossPlainFee