One real swap, step by step

Last updated: 12 November 2026 · On-chain facts checked 12 November 2026

In short: when someone swaps a token on NEAR, one click turns into a chain of small jobs that hop between accounts. This page follows one real swap, FLTC's last one, through each hop: the wallet, the FLTC contract, the Rhea pool, wrap.near, and back to the wallet.

The swap happened on 14 October 2026 at 6:09 PM ET (block 219,990,030). Open it on NearBlocks and follow along. This is a lesson about how NEAR works, not a trading demo. Nothing here lets you trade, and it says nothing about price or value.

  1. Step 1 of 7

    The wallet signs one transaction

    The person's wallet signed one transaction and sent it to the FLTC contract. It asked the contract to send FLTC to Rhea's pool and to tell the pool what to do with it.

    • From: fb8803d7d93cac1ffc3828845c0e1c9ca194b219118b7ac36d9ffe4fd1d805e2, an implicit account (see account names).
    • To: fltc-af549c.launchpad.justhoot.near, the FLTC contract.
    • Action: ft_transfer_call, 10,248,247.351 FLTC to dclv2.ref-labs.near, with a note saying "swap this in the FLTC / wNEAR pool".
    • Gas set aside: 180 Tgas. Deposit: 1 yoctoNEAR, which proves a real wallet approved it.

    On NearBlocks: the top of the page, "From", "To" and the action line.

  2. Step 2 of 7

    The FLTC contract moves the tokens and keeps its fee

    The FLTC contract ran first. It split the amount in two and wrote both moves in its log:

    • 10,237,999.104 FLTC to the pool, dclv2.ref-labs.near.
    • 10,248.247 FLTC to the FLTC contract itself, marked transfer_fee_held. That is exactly 0.1%, FLTC's own token fee (see how the fee is split). Whether a plain wallet-to-wallet send is charged the same way is still unconfirmed.

    Then it called the pool with ft_on_transfer, the standard "you've got tokens, here's the note" call.

    Receipt BZGwRxaXzLzQpP6zJQBkULtQioQ6rSxog7u3x11iEjnw.

  3. Step 3 of 7

    The Rhea pool does the swap

    The pool read the note and swapped in pool fltc-af549c.launchpad.justhoot.near|wrap.near|10000. The 10000 means this pool's fee is 1% (see liquidity pools). Its swap log says:

    • In: 10,237,999.104 FLTC. Out: 10.768817 wNEAR.
    • Pool fee: 102,379.991 FLTC, which is 1% of what came in. Of that, 20,475.998 FLTC (a fifth) is Rhea's own share, and the rest is for the people who supply the pool.

    The wallet had also said "give me at least 10.553441 wNEAR or cancel". The pool beat that minimum, so the swap went ahead.

    Receipt 9fbiMSoZi1nunLE8E9oGvPVtE7wMgvPQRC8G337qUoCV.

  4. Step 4 of 7

    wrap.near turns wNEAR back into NEAR

    The wallet's note said not to skip unwrapping, so the pool asked wrap.near to turn the 10.768817 wNEAR back into plain NEAR (near_withdraw). wrap.near logged Withdraw 10768817406995362128485269 NEAR from dclv2.ref-labs.near and sent the NEAR to the pool. See what wNEAR is.

    Receipt 3D5a162XtoQ7ngbz9DpsNnjnqxNLyrZnaQpr38toN9Z8.

  5. Step 5 of 7

    The pool sends the NEAR to the wallet

    A callback is a step that waits for an earlier one to finish. The pool's callback, callback_post_withdraw_near, checked the unwrap worked, then sent 10.768817 NEAR to the wallet.

    Receipts 4BD38wkoWpR1uMaJ23CdJwAQK3G1qhPUaFYKkF6DoNdx and T99pe6rPqunzXMbodGvWQF9Lx954N1puYRZKA3SF1hG.

  6. Step 6 of 7

    The FLTC contract wraps up

    The FLTC contract ran its own callback, ft_resolve_transfer. It asked: did the pool use all the tokens? It did, so nothing was sent back. The contract logged transfer_fee_settled: 10,248.247 FLTC held, 0 refunded, 10,248.247 kept.

    Receipt 5zCtdKVVgEGgzHBxtQkhModaxgNGFfBCamFSWXnLqzcq.

  7. Step 7 of 7

    The network returns the unused gas

    The wallet set aside 180 Tgas, far more than needed. Seven small refund receipts, sent by the network itself ("system"), returned what wasn't used. The swap's whole network fee came to 0.003283 NEAR. In total, this one transaction became 14 receipts.

    See gas fees, and how to read this transaction on NearBlocks for where each number sits on the page.

What to take away

Sources

Next: How to read a transaction on NearBlocks →

Questions? Join the Telegram to talk with other beginners.