Lux Docs
Dex

Gateway

API gateway for DEX operations

The LX Gateway provides a unified API for:

  • Quote and swap operations
  • Pool management
  • Order submission and cancellation
  • Position queries

Endpoints

MethodPathDescription
POST/v1/quoteGet swap quote
POST/v1/swapExecute swap
POST/v1/orderSubmit limit order
DELETE/v1/order/:idCancel order
GET/v1/orderbook/:pairOrder book snapshot
GET/v1/positionsList positions

On this page