dex

Get User Token IDs

Retrieves a list of NFT token IDs representing liquidity positions held in a user’s wallet. Each token is returned with its associated liquidity, enabling users to efficiently track and manage their NFT-based positions across decentralized finance protocols.

💡 Compute Unit Value: 60 (Fixed)

get/defi/v1/dex/getusertokenids

Request

  • Base URL
    https://svc.blockdaemon.com
  • URL
    https://svc.blockdaemon.com/defi/v1/dex/getusertokenids
  • Auth
    API key in header X-API-Key

Query parameters

dexId'1300' | '1305' | '1306' | '1307' | '1308' | '1309' | '2800' | '2808' | '2809'

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

Example:1300
addressstring required

Address of user

Example:0xdAe2F6EdDdA6fb4fb60cc02633DE27e2b431B402

Response

Successful response

statusinteger
msgstring
dataobject

Example response

{
  "status": 200,
  "msg": "success",
  "data": {
    "tokens": [
      {
        "tokenId": "818396",
        "liquidity": "42704482896171366122"
      }
    ]
  }
}

Changes

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