Swaps

This section contains comprehensive guides for executing token swaps across different blockchain ecosystems using the DeFrame API.

Available Guides

EVM-Compatible Blockchains

Solana

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

  1. Choose your target blockchain ecosystem (EVM or Solana)

  2. Follow the guide to get a quote for your desired swap

  3. Execute the swap using the provided transaction data

  4. 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