Total Pools of Uniswap v2 for Wrapped Ether

This query provides the details for Wrapped Ether for Uniswap v2.

Returns DEX trades by token on Ethereum, where DEX owner address is 0x5c69…aa6f, currency smart contract is 0xC02a…6Cc2 and block date before 2024-04-01: unique of trade DEX smart contract.

By Vishal · saved 22 April 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery($network: evm_network, $before: String!, $Uniwap_address: String!, $Currency_address: String!) {
  EVM(dataset: combined, network: $network) {
    DEXTradeByTokens(
      where: {Block: {Date: {before: $before}}, Trade: {Dex: {OwnerAddress: {is: $Uniwap_address}}, Currency: {SmartContract: {is: $Currency_address}}}}
    ) {
      uniq(of: Trade_Dex_SmartContract)
    }
  }
}

Variables

{"network": "eth", "before": "2024-04-01", "Uniwap_address":"0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f", "Currency_address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}

Similar queries