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