trade-v2
Other-side amount + liquidity for a deposit
Other-side amount + liquidity for a deposit
get/v2/trade/add-liq-estimate
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
token0string required
token1string required
fee0 | 500 | 3000 | 10000 required
tickLowernumber required
tickUppernumber required
amountstring required
amountIsToken0boolean required
Response
Example response
{
"status": 200,
"message": "Response fetched successfully",
"data": {
"amount0": "10",
"amount1": "20",
"liquidity": "1000",
"token0Symbol": "GALA",
"token1Symbol": "GUSDC",
"tickLower": -120,
"tickUpper": 120,
"amountIsCanonicalToken0": true
}
}Changes
No recorded changes to this operation across all 1 revision of this API.