Skip to main content

Health

Returns service status, chain ID, factory, cursor, indexed market and swap counts, head and indexed blocks, lag, last successful poll, and the latest error.

List markets

Returns every canonical market discovered from the configured factory.

Read one market

limit controls recent trades and is bounded from 1 to 250. The response contains:
Summary fields may be null before the first indexed swap or when the required state is unavailable.

Buy and sell classification

The indexer accounts for whether the credit is currency 0 or currency 1. A buy means the trader paid USDG and received credits. A sell means the trader paid credits and received USDG.
The indexed sender is the address emitted by PoolManager, which may be a router rather than the end user’s wallet.