dex
Get Pool Liquidity
Retrieves the total current liquidity in a specified DEX pool, indicating the pool’s market depth and trading capacity. This aggregated liquidity value helps users assess the pool’s overall health and potential for large trades without excessive slippage.
💡 Compute Unit Value: 95 (Fixed)
get/defi/v1/dex/getpoolliquidity
Request
- Base URLhttps://svc.blockdaemon.com
- URLhttps://svc.blockdaemon.com/defi/v1/dex/getpoolliquidity
- AuthAPI key in header X-API-Key
Query parameters
poolAddressstring required
Pool address whose liquidity is to be fetched.
Example:0xfad57d2039c21811c8f2b5d5b65308aa99d31559
dexId'1000' | '1001' | '1300' | '1301' | '1305' | '1306' | '1307' | '1308' | '1309' | '1310' | '1100' | '1101' | '1200' | '1201' | '2800' | '2808' | '2809' | '1500' | '1400' | '1402' | '2300' | '2100' | '2101' | '2500' | '2501' | '2700' | '2400' | '2401' | '3000' | '3001' | '3100' | '3300' | '3301' | '3500' | '3501' | '3400' | '3401' | '3600' | '3800' | '3700'
The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more here.
Example:1000
addressstring required
Public address of liquidity provider.
Example:0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402
idstring required
Bin ID whose liquidity is to be fetched.
Example:8376653
poolIdstring required
Pool ID of the token pair.
Example:13
Response
Successful response
Example response
{
"status": 200,
"msg": "success",
"data": {
"totalLiquidity": "586808351357"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.