Skip to main content
The SDK uses this as the default mainnet subgraph endpoint:
It backs read methods such as:
  • getPairs()
  • getOpenPositions()
  • getOpenOrders()
  • getOrders()
  • getBuilderOrders()
  • getFills()
  • getFillsByTime()
  • getSimSlippage()
  • getSimOrderbook()

SDK configuration

Override the endpoint with subgraphUrl when creating the client.
For direct GraphQL usage, use the SDK reference pages as the response-shape source of truth for each read method.