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.
-
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 todclv2.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.
- From:
-
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. - 10,237,999.104 FLTC to the pool,
-
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. -
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.nearto turn the 10.768817 wNEAR back into plain NEAR (near_withdraw).wrap.nearloggedWithdraw 10768817406995362128485269 NEAR from dclv2.ref-labs.nearand sent the NEAR to the pool. See what wNEAR is.Receipt
3D5a162XtoQ7ngbz9DpsNnjnqxNLyrZnaQpr38toN9Z8. -
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
4BD38wkoWpR1uMaJ23CdJwAQK3G1qhPUaFYKkF6DoNdxandT99pe6rPqunzXMbodGvWQF9Lx954N1puYRZKA3SF1hG. -
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 loggedtransfer_fee_settled: 10,248.247 FLTC held, 0 refunded, 10,248.247 kept.Receipt
5zCtdKVVgEGgzHBxtQkhModaxgNGFfBCamFSWXnLqzcq. -
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
- One click can touch several accounts. Each hop is a receipt, and you can open every one.
- Three different costs showed up: FLTC's 0.1% token fee (step 2), the pool's 1% fee (step 3), and the network's gas (step 7). They go to different places.
- Callbacks (steps 5 and 6) are how contracts check that earlier steps worked.
Sources
- The transaction: nearblocks.io/txns/HumMzbDtETZWFxv1ofeiVMcx4kb3mDANzZDEYhfeh4zy, read again through NEAR's archival RPC (
EXPERIMENTAL_tx_status) on 12 November 2026 - NEAR Docs, "Lifecycle of a Transaction": docs.near.org/protocol/transactions/transaction-execution
- NEP-141 Fungible Token standard: nomicon.io/Standards/Tokens/FungibleToken/Core