How it works
Prices and tokens
Links hold tokens, not dollars. Here is how Floe converts between them.
On this page
Supported tokens#
| Token | Networks | Coin type |
|---|---|---|
| SUI | Testnet and mainnet | 0x2::sui::SUI |
| $LOFI | Mainnet only | 0xf22da9a24ad027cccb5f2d496cbe91de953d363513db08a3a734d361c7c17503::LOFI::LOFI |
Both use nine decimals. The contract accepts any coin type, but the app reads only escrows that hold these two.
Dollar links#
When a sender types dollars, Floe divides by the live SUI price and rounds to four decimal places. The escrow holds that amount of SUI, so the recipient gets the same number of SUI whenever they claim. Its value in dollars can rise or fall in the meantime.
The claim page shows the dollar value at the live price, with the exact token amount beneath it.
Where prices come from#
Floe’s server fetches prices, so your browser doesn’t contact these services. It tries CoinGecko first. If either price is missing or more than 15 minutes old, it fills the gap from the deepest pool on DEX Screener.
Prices are for display and conversion only. The contract doesn’t use them.
How fresh they are#
| Step | Limit |
|---|---|
| Wait for each source | 5 seconds |
| Server cache | 30 seconds |
| Browser refresh, while a price is on screen | Every 30 seconds |
| Last good price kept during an outage | 2 minutes |
After that, Floe shows prices as unavailable and won’t create a link. It never substitutes an old number. The response format is in the HTTP API.