eth-sell-buy

Returns 10 DEX trades on Ethereum, where exchange name is Uniswap or Uniswap v2, sell currency is WETH, ETH or 1 more and buy currency is not USDC, DAI or 3 more: buy currency address, buy currency symbol, buy currency name, token ID, token type, sell currency address, transaction hash and sell amount.

By Oluwatomisin · saved 15 May 2023 · run 8 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      exchangeName: {in: ["Uniswap", "Uniswap v2"]}
      sellCurrency: {in: ["WETH", "ETH", "WBTC"]}
      buyCurrency: {notIn: ["USDC", "DAI", "USDT", "PEPE", "LADY"]}
      sellAmount: {gt: 10}
      time: {since: "2023-05-12T12:49:48.229229Z"}
      options: {limit: 10}
    ) {
      buyCurrency {
        address
        symbol
        name
        tokenId
        tokenType
      }
      sellCurrency{
        address
      }
      transaction {
        hash
      }
      sellAmount
    }
  }
}

Similar queries