all usdt token pools uniswap v3

Returns 10 DEX trades on Ethereum, where DEX owner address is 0x1f98…f984 and buy currency smart contract is 0xdac1…1ec7, sorted by fee burnt, highest first: protocol name, smart contract, pair name, owner address, buy currency name, buy smart contract, sell currency name and sell smart contract.

By gaurav · saved 28 February 2024 · run 12 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: realtime, network: eth) {
    DEXTrades(
      limitBy: {by: Trade_Dex_SmartContract, count: 1}
      where: {Trade: {Dex: {OwnerAddress: {is: "0x1f98431c8ad98523631ae4a59f267346ea31f984"}}, Buy: {Currency: {SmartContract: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}}}}}
      limit: {count: 10}
      orderBy: {descending: Fee_Burnt}
    ) {
      Trade {
        Dex {
          ProtocolName
          SmartContract
          Pair {
            Name
            SmartContract
          }
          OwnerAddress
        }
        Buy {
          Currency {
            Name
            SmartContract
          }
        }
        Sell {
          Currency {
            Name
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries