Search
⌘K
Intent Swap (Fusion)
API version: All versions
Introduction
Quick start
Quick Start - Ethereum
Quick Start - Solana
Orders
Get gasless swap active orders GET
Get settlement contract address GET
Get order status by hash GET
Get multiple orders by hashes POST
Get orders by maker address GET
Get cancelable orders GET
Quoter
Get quote for token swap GET
Get quote with custom auction presets POST
Build Fusion order from quote POST
Relayer
Submit a signed Fusion order POST
Submit multiple signed Fusion orders POST
Migration
Migration from v1.0 to v2.0
SDK
Solana
Overview
Filling and canceling Solana Fusion order
WebSocket API
EVMs
Overview
Swapping a Native Token to ERC-20
Swapping with Permit2
WebSocket API
Docs·APIs·Swap API·Intent Swap (Fusion)·SDK·Solana·Overview

Overview

The 1inch Solana Fusion SDK enables token swaps on Solana with ultra-fast transactions and minimal fees. Unlike EVM chains where orders are signed off-chain, Solana orders are placed directly on-chain through escrow contracts.

Key Benefits

  • Ultra-Fast Transactions - Solana's ~400ms block times mean near-instant order confirmation
  • Minimal Fees - Transaction costs are typically under $0.01, with no additional 1inch fees
  • Deep Liquidity - Access swaps across over 1 million Solana-native tokens
  • MEV Protection - Built-in protection against front-running and sandwich attacks

How Solana Fusion Works

The swap process on Solana differs from EVM chains:

  1. Create Order - The SDK generates a FusionOrder with optimal auction parameters
  2. Build Escrow Transaction - A transaction is prepared to create an on-chain escrow holding your tokens
  3. Sign and Broadcast - You sign and submit the transaction (paying ~$0.001 in fees)
  4. Resolver Fills Order - Resolvers compete to fill your order at the best price
  5. Receive Tokens - The destination token is delivered directly to your wallet

Core Methods

  • getQuote - Fetches current pricing and auction parameters. Use this to display expected output amounts before users commit to a trade.
  • createOrder - Generates a FusionOrder struct with source/destination tokens, amounts, and Dutch auction parameters. This data is used to build the on-chain escrow transaction.
  • getOrderStatus - Checks whether an order is still active or has been filled/cancelled. Use this for polling-based status tracking.
  • WebSocketApi - Real-time order status updates as an alternative to polling. Subscribe to order events for instant notifications when your order is filled or cancelled.

Integration Pattern

A typical integration follows this flow:

  1. Initialize SDK - Create an SDK instance with your API key
  2. Fetch Quote - Show users the expected swap rate before they confirm
  3. Create Order - Generate the order structure when user approves
  4. Build Transaction - Use FusionSwapContract to create the escrow instruction
  5. Submit & Track - Broadcast the transaction and monitor for completion

Interactive Code Example

Explore the complete implementation — this example demonstrates swapping SOL to JUP:

Did you find what you need?