Quickstart
Get started with DexAggregator API in 5 minutes
Prerequisites
Step 1: Server Setup (Optional)
# Clone the repository
git clone https://github.com/YourOrg/DexAggregator-go-server.git
cd DexAggregator-go-server
# Install dependencies
go mod download
# Run the server
go run examples/kyberswap_api_server.goStep 2: Check Server Health
Step 3: Get Supported Chains
Step 4: Get Contract Addresses
Step 5: Build Your First Swap Route
Step 6: Execute the Swap
Using Web3.js (JavaScript)
Using ethers.js (TypeScript)
Understanding the Response
Field
Description
Parameter Explanation
Required Parameters
Optional Parameters
Common Token Addresses
BSC Mainnet
Ethereum Mainnet
Next Steps
Last updated