trade
Get ranked legacy opportunity pools
Curated feed, legacy pools only.
get/v1/trade/opportunities
Request
- Base URLhttps://swap-backend.stage.defi.ovh.gala.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
limitnumber
Example:20
Maximum ranked pools to return (default 20)
Response
Example response
{
"status": 200,
"message": "Pool details fetched successfully",
"data": {
"pools": [
{
"poolPair": "SYNTHETIC_TOKEN$Unit$none$none/SYNTHETIC_QUOTE$Unit$none$none/3000",
"poolHash": "v2:synthetic-pool-ref",
"token0": "SYNTHETIC_TOKEN",
"token0Image": "https://images.example.test/token0.png",
"token1": "SYNTHETIC_QUOTE",
"token1Image": "https://images.example.test/token1.png",
"token0CompositeKey": "SYNTHETIC_TOKEN$Unit$none$none",
"token1CompositeKey": "SYNTHETIC_QUOTE$Unit$none$none",
"token0OriginChain": "native",
"token1OriginChain": "native",
"token0Price": "1.25",
"token1Price": "0.8",
"poolName": "SYNTHETIC_TOKEN / SYNTHETIC_QUOTE",
"fee": "0.3",
"fee24h": 12.5,
"token0Tvl": 1000,
"token0TvlUsd": 1250,
"token1Tvl": 1250,
"token1TvlUsd": 1000,
"tvl": 2250,
"volume1d": 300,
"volume30d": 7500,
"volume7d": 1800,
"trades1d": 18,
"dayPerTvl": 0.1333,
"apr1d": 48.67,
"opportunityScore": 0.82,
"contractVersion": "v2"
}
],
"count": 1
}
}Changes
No recorded changes to this operation across all 1 revision of this API.