trade against WETH Total trades pools from march 2024

This API provides trade against WETH with pool name from march 2024.

Returns one DEX trade on Ethereum, where base currency is 0xC02a…6Cc2, date before 2024-04-01 and date after 2023-03-31, sorted by total trades, highest first: address address, contract type, protocol type, count, trade amount, full name, quote currency name and quote currency symbol.

By Vishal · saved 23 April 2024 · run 15 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery($network: EthereumNetwork!, $currency_address: String!, $before: ISO8601DateTime!, $after: ISO8601DateTime!, $limit: Int!) {
  ethereum(network: $network) {
    dexTrades(
     baseCurrency:{is: $currency_address}
      options: {desc: "Total_trades", limit: $limit}
      date: {before: $before, after: $after}
    ) {
      smartContract {
        address {
          address
        }
        contractType
        protocolType
      }
      Total_trades: count
      tradeAmount(in: USD, calculate: sum)
      exchange {
        fullName
        address {
          address
        }
      
      } 
      quoteCurrency {
        name
        symbol
      }
    }
  }
}

Variables

{"network": "ethereum", "currency_address": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", "before": "2024-04-01", "after": "2023-03-31", "limit": "1"}

Similar queries