Trading/Filling an offer
Filling an offer
Browse the Market tab, click an offer, and the right rail opens with the detail panel. Choose how much to fill, sign one transaction, and the swap settles atomically.
Step by step
- Open the panel. Clicking any row opens the offer detail without leaving the table. You can keep scanning while the panel is up.
- Read the spread. The panel shows the live Jupiter aggregated mid, the offer's fixed price, and the percent delta. Negative delta is good for takers (cheaper than mid); positive is the maker capturing premium.
- Slippage savings. The panel also estimates what filling the same notional would cost via a Jupiter route, so the savings (or premium) is concrete.
- Choose your fill amount. Use the slider or numeric input. The app
enforces both bounds: not less than
min_fill(unless you take the final remaining slice), not more thanremaining_size. - Review the totals. The button shows the total payment including the
0.20%taker fee, and the tokens you will receive. - Sign. One transaction. If anything fails, insufficient balance, the offer just got cancelled, the price changed (it cannot, but the program checks anyway), the whole transaction reverts.
What happens inside the transaction
For a sell-side offer (the maker is selling, you are buying):
- You pay
fill_amount * price_per_tokenin the payment mint. - The program splits the payment:
99.80%to the maker,0.20%to the treasury. - The program transfers
fill_amountof the asset from the asset vault to your associated token account. remaining_sizeis decremented.
For a buy-side offer (the maker is buying, you are selling):
- You deliver
fill_amountof the asset from your associated token account. - The program transfers
fill_amount * price_per_token * 99.80%of the payment from the payment vault to you, and0.20%to the treasury. remaining_sizeis decremented.
Final fill
If remaining_size reaches zero on your fill, the program closes the offer
and both vaults in the same transaction. The rent for the closed accounts is
refunded to the maker.
Verify the asset before you fill
Listing is permissionless. The asset mint on an offer can be anything, including a freshly minted impostor of a popular token. Check the mint address on a block explorer and confirm it matches the project you intend to trade. The app shows the mint and a Solscan link in the detail panel.