Skip to main content
Configure swap settings from the Privy Dashboard. Navigate to Wallet Infrastructure > Wallets > Advanced to enable swaps and customize routing behavior.

1. Enable swaps

Toggle Enable token swaps to activate swap functionality for your app. Swaps are disabled by default.

2. Configure fee sponsorship

Open Fee sponsorship in the Dashboard and configure the following options:
  • Gas sponsorship (required): Enable Sponsor gas fees. Swaps require gas sponsorship to execute.
  • Exchange fee sponsorship (optional): Enable Sponsor exchange fees to cover exchange fees for cross-chain swaps on all supported routes. This includes fees charged by decentralized exchanges (DEXes).
Fee sponsorship supports prepaid and postpaid billing. For prepaid accounts, ensure the credit balance is funded. Follow the fee sponsorship setup for details.

3. Select protocols

Choose which protocols are used to route swaps.

EVM chains

Choose which Uniswap protocols are used to route EVM swaps. Additional protocols and DEX aggregators are planned for future releases.

Solana

Solana swaps route through a low-latency swap aggregator. No additional protocol configuration is required for Solana.

4. Select routing strategy

Choose how swaps are optimized when multiple routes are available.
Fastest is typically appropriate for most use cases. Best price may result in longer confirmation times during periods of network congestion, but can yield better rates for larger swaps.