Skip to main content

Module market

Module market 

Source
Expand description

Market summary API handler.

Structs§

MarketRequest
Request body for market summary.

Functions§

handle
POST /api/market/summary — Peg and order book health. The pair and venue are read exactly as the CLI reads them (core Pair and MarketVenue). Errors map through status_for: an unknown venue or a chain mismatch is 400, no DEX pairs is 404.