Count of trade on Uniswap

Returns the total count of trade of a particular token on uniswap

Returns DEX trades by token on Ethereum, where DEX owner address is 0x1f98…f984 and currency smart contract is 0x6982…1933: count.

By Emmanuel Ajala · saved 30 April 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTradeByTokens(
      where: {TransactionStatus: {Success: true}, Trade: {Dex: {OwnerAddress: {is: "0x1f98431c8ad98523631ae4a59f267346ea31f984"}}, Currency: {SmartContract: {is: "0x6982508145454ce325ddbe47a25d4ec3d2311933"}}}}
    ) {
      Trade_Count_Uniswap: count(selectWhere: {gt: "0"})
    }
  }
}

Similar queries