trade
Get a legacy pool by hash
Legacy DexV3Contract pool detail by hash.
get/v1/trade/pool-by-hash
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
poolHashstring required
Example:632e14d63876b38674ec7944ebad71f31857412305abba8b2adb921c92f90b2a
The 64-character hexadecimal hash or v2 pool reference identifying the pool
Response
Example response
{
"status": 200,
"message": "Pool detail fetched successfully",
"data": {
"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"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.