🚀 Attention Developers! Two Powerful Updates Just Landed! 🚀
We’re excited to announce two new enhancements that make Omniston swaps safer, more flexible, and more rewarding for integrators.
1️⃣ refund_address in BuildTransferRequest
You can now specify an address where funds should be returned if a transaction fails.
🔥 Highlights:
• Works today for swaps via STON.fi
• Backward-compatible – if not set, refunds go to the sender’s wallet
• Perfect for custodial flows, multi-user platforms, and escrow
• SDK support is live:
– @ston-fi/omniston-sdk v0.7.2
– @ston-fi/omniston-sdk-react v0.7.4
2️⃣ Tonco Referral Fee Support
Omniston now supports referral fees for Tonco swaps.
🔥 Highlights:
• When requesting a swap quote, provide the recipient for referral fees and the desired fee percentage
• Earn a fee on every Tonco swap you facilitate
• Fees accumulate in the Vault contract — same as with DeDust
💡 Why It Matters:
• More control over refund flows
• More revenue opportunities through Tonco referrals
• Same unified Omniston API experience you know and love
📅 Status: Both features are already live – start integrating today!
📚 Learn More:
Check out the updated Omniston API docs and example integrations for full details.
DEX | Dev docs | AI docs assistant | Guide | Blog | All Links
🐣 X 🤖 Discord 🌐 Reddit 🌐 LinkedIn 📹 YouTube
Post #57
327