Get list of USDT Liquidity Pools V2

This API returns list of USDT Liquidity Pools.

Returns DEX trades on Ethereum, where buy currency smart contract is 0xdac1…1ec7, sorted by trade vol, highest first: sum of trade buy amount, sell currency name, sell protocol name and sell currency symbol.

By Nikhil · saved 7 July 2023 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query ($base_currency: String!) {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {SmartContract: {is: $base_currency}}}}}
      limitBy: {count: 10}
      orderBy: {descendingByField: "tradeVol"}
    ) {
      tradeVol: sum(of: Trade_Buy_Amount)
      Trade {
        Sell {
          Currency {
            Name
            ProtocolName
            Symbol
          }
        }
      }
    }
  }
}

Variables

{
  "base_currency": "0xdac17f958d2ee523a2206206994597c13d831ec7"
}

Similar queries