Intents/Swap

Understanding Swap Intents

Learn about Swap Intents for seamless cross-chain token exchanges using the Okto API.

What are Swap Intents?

Swap intents enable seamless token exchanges within and across blockchain networks through Okto's infrastructure. Whether you're swapping tokens on the same chain or swapping assets between different networks, swap intents abstract away the complexity while ensuring optimal execution.

Swap Intents are powered by Okto's Trade Service and Unified Liquidity Layer (ULL), which combined act as an aggregator of aggregators to provide optimal execution paths across multiple liquidity sources.

Integration Options

  • For Okto Embedded Wallets: Use Swap Intents through the Okto API for a streamlined, fully integrated experience.

  • For External Wallets: Access the same powerful swap functionality via the Trade Service APIs directly. The APIs provide transaction objects that can be signed and executed by any wallet provider, giving you complete flexibility in your integration approach.

How Swap Intents Work

When you execute a swap intent, Okto:

  1. Analyzes your swap request – Evaluates the source and destination tokens, networks, and user preferences.
  2. Discovers optimal routes – Leverages DEX aggregators and the Unified Liquidity Layer (ULL) to identify the most efficient execution path.
  3. Manages conversions – Seamlessly handles any required token conversions to filler supported tokens (FST) for cross-chain swaps.
  4. Executes the transaction – Processes the swap with integrated slippage protection and real-time market checks.

Key Features & Resources

Next Steps

Ready to implement swap intents in your application? Explore the technical implementation guide and Trade Service architecture: