Trading History
Get Trading History Stats
Returns precomputed trading stats for a recent time window.
get/api/trading-history/{window}/stats
Request
- Base URLhttps://backend-global.gains.trade
- Authnone declared
- TypeScripthttps://skmtc.dev/gains/apis/gains-network-backend-api/docs/api/trading-history/:window/stats/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
windowstring required
Example:24h
Supported values: 24h, 48h, 72h.
Query parameters
chainIdinteger required
Example:42161
Blockchain chain ID. Common values: 42161 Arbitrum, 8453 Base, 137 Polygon.
Response
Successful response
Changes
No recorded changes to this operation across all 2 revisions of this API.