Features
- Route API - Get optimal swap routes across DEXs
- Build API - Get transaction calldata for execution
- Multi-chain - Supports 15+ EVM chains
Installation
[]
= "0.1"
= { = "1", = ["full"] }
Quick Start
use ;
async
Getting Transaction Data
use ;
// First get routes
let route_summary = client.get_routes.await?;
// Then build for execution
let build_request = BuildRouteRequest ;
let tx_data = client.build_route.await?;
println!;
println!;
Supported Chains
Ethereum, BSC, Polygon, Arbitrum, Optimism, Avalanche, Base, Fantom, Linea, Scroll, zkSync, Blast, Mantle, Polygon zkEVM
Terms of Service
This is an unofficial client. By using this library, you agree to comply with KyberSwap Terms of Use.
Disclaimer
This crate is not affiliated with or endorsed by Kyber Network.
License
MIT