Overview
Every swap involves various fees that affect the final output amount. dKit provides transparent fee breakdowns to help you understand the true cost of each route.Fee Types
Network Fees (Gas)
Blockchain transaction fees paid to validators/miners.Bitcoin
Bitcoin
Fee Structure: Sats per byte
Typical Cost: $2-20 per transaction
Factors: Network congestion, transaction size
Ethereum
Ethereum
Fee Structure: Base fee + priority fee
Typical Cost: $5-50 per transaction
Factors: Network activity, transaction complexity
Solana
Solana
Fee Structure: Fixed fee per signature
Typical Cost: $0.00025 per transaction
Factors: Number of signatures, priority fees
Protocol Fees
Fees charged by the swap protocol for facilitating the trade.Provider | Fee Structure | Typical Rate |
---|---|---|
THORChain | Dynamic based on network costs | 0.2-0.5% |
Chainflip | Fixed percentage | 0.1-0.3% |
MayaChain | Similar to THORChain | 0.2-0.5% |
Jupiter | Varies by route | 0.0-0.3% |
1inch | Positive slippage capture | 0.0-0.1% |
Liquidity Provider Fees
Compensation for liquidity providers who enable the swap.- Stablecoin pairs: 0.01-0.05%
- Major pairs: 0.05-0.3%
- Exotic pairs: 0.3-1%
Affiliate Fees
Optional fees for integrators and affiliates.Tax Fees
Fees for tokens with built-in taxation mechanisms.Fee Calculation Examples
Simple Swap Fee Breakdown
ETH to USDC swap on Ethereum:Cross-Chain Swap Fees
BTC to ETH via THORChain:Fee Optimization Strategies
1. Provider Selection
Compare total fees across providers:2. Timing Optimization
Execute swaps during low-fee periods:3. Batching Strategies
Combine multiple swaps to amortize fixed fees:4. Route Optimization
Choose routes that minimize fee layers:Streaming Swap Fees
THORChain streaming swaps have unique fee characteristics:Fee Estimation
Pre-Quote Estimation
Estimate fees before requesting quotes:Dynamic Fee Updates
Monitor fee changes in real-time:Fee Display Best Practices
1. Transparent Breakdown
Always show users complete fee information:2. Relative Fee Display
Show fees as percentage of swap amount:3. Fee Impact Visualization
Help users understand fee impact:Common Fee Scenarios
High-Frequency Trading
For frequent swaps, minimize per-transaction costs:- Use providers with no protocol fees
- Batch transactions when possible
- Choose chains with low network fees
- Consider fee rebate programs
Large Value Swaps
For large amounts, optimize for percentage fees:- Use streaming swaps to reduce slippage
- Negotiate affiliate fee sharing
- Consider OTC alternatives for very large amounts
- Split across multiple routes if beneficial
Cross-Chain Arbitrage
Factor all fees into profit calculations:- Include both inbound and outbound network fees
- Account for time value during execution
- Consider MEV protection costs
- Calculate break-even thresholds