dex

Get Pool Individual Liquidity

Retrieves a list of users contributing liquidity to a specified pool, along with their token positions and associated block numbers. The response also includes pagination details, streamlining navigation of large datasets for deeper analysis.

💡 Compute Unit Value: 55 (Fixed)

get/defi/v1/dex/getpoolindividualliquidity

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/dex/getpoolindividualliquidity
  • Auth
    API 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'

The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more here.

Example:1000
endBlockstring

Last block of the range.

Example:100010
startBlockstring

Starting block of the range.

Example:100000

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": [
    {
      "userAddress": "0xf5f259b9406da00048194a651d2d507a61537fb7",
      "liquidityData": [
        {
          "blockNumber": "21302565",
          "transactionHash": "0xe83967aabc1053016eeaaf63d77277021b8c0e73318bb82a0514c1064c4b5feb",
          "assets": {
            "ILV": "1178911365981926221",
            "WETH": "19342499999999999"
          }
        }
      ]
    },
    {
      "userAddress": "0xf5f259b9406da00048194a651d2d507a61537fb7",
      "liquidityData": [
        {
          "blockNumber": "21302541",
          "transactionHash": "0xe170dd27bef8a23bfa6120f0810c299021789c1de2d693e90ccb1ac99d2a8b14",
          "assets": {
            "ILV": "1178972672415579907",
            "WETH": "19342201932260271"
          }
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.