Example applications demonstrating cross-chain token swaps using the 0x API.
TypeScript examples showing complete cross-chain swap flows:
- EVM to Solana (WETH → USDC)
- Solana to EVM (WSOL → USDC)
- EVM to EVM (Base ↔ Arbitrum)
- Real-time transaction monitoring
Next.js app with live streaming quotes:
- Real-time cross-chain quote updates
- Server-Sent Events for streaming data
- Interactive web interface
- Get your API key from 0x Dashboard
- Navigate to an example directory
- Follow the README instructions
- Node.js 20+
- 0x API key