Skip to content

0x Protocol

🛠 Connector Info

Component Status Notes
Router Connector ✅ Professional DEX Aggregator with RFQ

â„šī¸ Exchange Info

🔑 How to Connect

0x Protocol operates on Ethereum and EVM-compatible networks.

Chain Networks
ethereum mainnet, arbitrum, optimism, base, polygon, avalanche, bsc

See Gateway Connect for instructions on connecting your wallet to Gateway.

Configuration

Configure 0x settings in /conf/connectors/0x.yml:

allowedSlippage: 1.0
gasLimitEstimate: 350000
ttl: 30
apiEndpoint: "https://api.0x.org"
apiKey: null  # Optional API key for higher rate limits

Configuration Parameters

  • allowedSlippage: Maximum acceptable price slippage percentage
  • gasLimitEstimate: Estimated gas limit for transactions
  • ttl: Time-to-live for quotes in seconds
  • apiEndpoint: 0x API endpoint URL
  • apiKey: Optional API key for enhanced features and higher rate limits

Router Endpoints

Integration to 0x Protocol's professional-grade DEX aggregation

  • /connectors/0x/router/quote-swap
  • /connectors/0x/router/execute-quote
  • /connectors/0x/router/execute-swap

For more info, run Gateway in development mode and go to http://localhost:15888 in your browser to see detailed documentation for each endpoint.