trade against WETH Total trades pools from march 2024...

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

Returns 10 DEX trades on Ethereum and Polygon, where base currency is 0x7ceB…f619, 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 2 more fields.

By Vishal · saved 10 May 2024 · run 2 times · Bitquery API v1

What it returns

Filters

The query

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

Variables

{
  "network": "matic",
  "currency_address": "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619",
  "before": "2024-04-01",
  "after": "2023-03-31"
}

Similar queries