LPs of USDC/ETH

Returns the latest 10 DEX trades on Ethereum, where base currency is 0xc02a…6cc2 and smart contract address is 0xB4e1…C9Dc: address address, exchange name, quote currency symbol, date date, sell currency symbol, quote price and trade amount.

By Divyasshree N · saved 15 February 2023 · run 7 times · Bitquery API v1

What it returns

Filters

The query

query myQuery($address: String) {
  ethereum(network: ethereum) {
    dexTrades(
      baseCurrency: {is: $address}
      options: {desc: "date.date", limit: 10}
      smartContractAddress: {is: "0xB4e16d0168e52d35CaCD2c6185b44281Ec28C9Dc"}
    ) {
      poolToken: smartContract {
        address {
          address
        }
      }
      exchange {
        name
      }
      pair: quoteCurrency {
        symbol
      }
      date {
        date
      }
      sellCurrency {
        symbol
      }
      quotePrice
      tradeAmount(in: USD)
    }
  }
}

Variables

{"address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}

Similar queries