Swaps API Documentation home page
Search...
⌘K
Try the APIs
Try the APIs
Search...
Navigation
Getting started
Introduction
Documentation
API Playground
Getting started
Introduction
Guides
Swap
Cross-Chain Calls
Track Transactions
Resources
Best Practices
Supported Chains
On this page
Send Your First Transaction
Getting started
Introduction
Swaps offers flexible APIs for lightning-fast swaps, bridging, and cross-chain calls.
Send Your First Transaction
Welcome to the Swaps documentation! Here, you’ll find an interactive API playground and detailed integration guides to help you seamlessly send your first swap, bridge, or cross-chain call transaction.
To get started, check out our:
Swap integration guide
Follow our guide for step-by-step walkthrough of integration recommendations.
or test each step of the flow yourself!
1. Check available routes
Get available paths for a given source token.
2. Request a quote
Call the
/getAction
endpoint to return a serialized swap or cross-chain-call transaction.
3. Broadcast your tx
Reference the broadcast methods in the Swap Guide for each VM.
4. Register your tx
For
Alt VMs
, register your transaction to trigger indexing.
5. Track your tx's status
Leverage the status endpoint or webhooks to track end-to-end execution.
6. Maintain historical tx data
Return all transactions for your org.
Swap
Assistant
Responses are generated using AI and may contain mistakes.