Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Fees

Trading fees on STON.fi - per‑pool configurable fees

Current Model

  • Per‑pool configurable: Trading fees are set per liquidity pool.

  • Default: 0.3% total fee: 0.2% to liquidity providers (LPs) and 0.1% to the STON.fi protocol.

  • Range: The total fee and its split can be adjusted by the protocol admin within a 0%-1% range.

  • Accrual: LP fees accrue to the pool and are realized pro‑rata based on each LP’s share of liquidity.

Where to See Fees

  • App: Each pool’s current fee is visible on its page in the app.

  • API/SDK: Fees are also available via the DEX API and SDK.

Integrator fees

Direct DEX SDK referral parameters and Omniston RFQ parameters are different surfaces. Direct v2 builders use referralAddress/referralValue (bps); Omniston API v1beta8 uses destination-chain integrator_address/integrator_fee_pips. See Omniston configuration when the flow comes through aggregation.

DEX v1 direct payouts

DEX v1 applies a fixed 0.1% referral fee and pays the referrer directly in the swap transaction. Inspect the payout in the transaction's token transfers.

DEX v2 Vault payouts

DEX v2 accrues referral fees in Vault contracts for withdrawal by the owner. A Vault is identified by its router, owner, and the router's token wallet. Derive its address through the router's getVault() or getVaultAddress() methods.

Use Claim integrator fees for the discover → select router → build withdrawal → send flow. For TON-denominated fees, use the router's pTON minter context. The API wallet fee-Vault endpoint can discover recorded Vaults; the fee statistics describe v2 Vault datasets.

The direct SDK/API referral rate is measured in basis points. The API's simulation surface accepts 0-100 bps; a positive fee and its effective payout depend on the deployed router and simulation. Pass consistent referral configuration to simulation and transaction building.

You can also inspect the Vault demo and its source.

Last updated