trade-v2
Single pool by its v2:<poolRef> hash (or bare poolRef)
Single pool by its v2:<poolRef> hash (or bare poolRef)
get/v2/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": "Response fetched successfully",
"data": {
"fee": 3000,
"tickSpacing": 60,
"protocolFees": 100,
"tradingFees": 3000,
"creator": "client|000000000000000000000000",
"token0CompositeKey": "GALA$Unit$none$none",
"token1CompositeKey": "GUSDC$Unit$none$none",
"contractVersion": "v2",
"token0": "GALA",
"token1": "GUSDC",
"poolName": "GALA/GUSDC",
"poolRef": "GALA$GUSDC$3000",
"price": "1.25",
"sqrtPrice": "1.118",
"tick": 1234,
"token0Tvl": "10",
"token1Tvl": "20",
"tvlUsd": 1000,
"volume1d": 500,
"volume7d": 3500,
"volume30d": 14000,
"trades1d": 25,
"fee24h": 1.5,
"apr1d": 54.75,
"token0Price": 0.025,
"token1Price": 1
}
}Changes
No recorded changes to this operation across all 1 revision of this API.