Fees
Landed’s fee is at most 0.50% of the trade, and it is paid last: from the room the fill leaves under your cap.
The formula
fee = min(rate × trade, (cap − loss before fee) × trade)When the fill leaves at least the rate’s worth of room, Landed takes the full rate. When it leaves less, Landed takes what is left. When the fill used the whole cap, Landed takes nothing.
Three fills under a 3% cap
What always holds
loss before fee + fee ≤ capYour total never exceeds your cap. The program computes the fee from balances it read itself and is the only thing that moves it.
Where the fee goes
Fees are paid in SOL into the fee vault. What happens to them is on the LANDED page.