Dynamic Fees for DeFi
Fees that respond to volatility, reward loyalty, and defend against MEV. Powered by verified onchain data and zero-knowledge proofs.
From onchain history to verified fee logic

1. Query
Your smart contract sends a SQL query to SXT's QueryRouter. The query runs against indexed blockchain data, trading volumes, LP positions, borrower history, staking duration, or any onchain signal your pricing logic needs.

2. Prove
The SXT network executes the query and generates a Proof of SQL, a ZK proof that the result is mathematically correct and the underlying data hasn't been tampered with. No trust in any single node required.

3. Callback
The verified result is delivered to your contract's callback function. It maps the data to a fee adjustment, a discount tier, a volatility surcharge, a risk premium, a loyalty credit, and applies it directly in your contract's business logic.
Pricing that creates a compounding advantage
Dynamic fees turn protocol pricing from a static parameter into a competitive weapon, across every DeFi vertical.
Better LP Economics
Pools charge more during volatile periods, compensating LPs for impermanent loss risk. In calm markets, lower fees attract volume. LPs earn more on a risk-adjusted basis either way.
MEV Defense
Fees that spike for trades exhibiting sandwich-attack or toxic-flow patterns shift the cost of extraction from liquidity providers to the extractors themselves.
Loyalty & Retention
Volume-based discounts and loyalty tiers reward users who contribute the most to protocol health. Verified onchain history replaces manual allowlists and governance votes.
Smarter Risk Pricing
Lending rates, borrowing costs, and collateral requirements that incorporate real-time utilization, borrower history, and cross-protocol exposure. Accurate pricing for every position.
Dynamic fees across every DeFi vertical
Any smart contract that prices a service can use verified historical data to price it better.
Ready to make your fees intelligent?
Write your SQL query, connect it to your smart contract, and start pricing like the market demands. The infrastructure is live.
Verifiable by design
Every fee adjustment is backed by a ZK proof. No oracles, no offchain APIs, no trust assumptions.
Any smart contract
DEXs, lending protocols, perps, staking, rewards, any contract that prices a service can query verified data.
Production ready
Uniswap v4 hook templates ship today. Lending and perps integrations are next. The SQL is all you customize.