Swaps
This section contains comprehensive guides for executing token swaps across different blockchain ecosystems using the DeFrame API.
Available Guides
EVM-Compatible Blockchains
EVM Swaps - Guides for Ethereum, Polygon, BSC, and other EVM chains
Solana
Solana Swaps - Guides for Solana blockchain
Overview
The DeFrame API provides unified access to token swaps across multiple blockchain ecosystems:
Cross-Platform Support: Support for both EVM and non-EVM blockchains
Intra-chain & Cross-chain: Swap tokens within the same chain or between different chains
Provider Agnostic: Automatic selection of the best swap provider for optimal execution
Comprehensive Data: Get quotes, transaction data, and approval information
Security: Non-custodial - you maintain control of your funds
Getting Started
Choose your target blockchain ecosystem (EVM or Solana)
Follow the guide to get a quote for your desired swap
Execute the swap using the provided transaction data
Monitor the transaction on the blockchain
Authentication
All API requests require an API key. Include it in your request headers:
x-api-key: YOUR_API_KEY
Last updated