No symbols for new pairs uniswap v2

Returns DEX trades on Ethereum, where DEX owner address is 0x5c69…aa6f, DEX protocol name is uniswap_v2 and block time after 2025-09-10: buy currency symbol, buy smart contract, sell currency symbol, sell smart contract, average of trade buy price, sum of trade buy amount and sum of trade sell amount.

By fm · saved 11 September 2025 · run 11 times · Bitquery API v2

What it returns

Filters

The query

  query Pairs(
    $network: evm_network
    $exchangeName: String!
    $ownerAddress: [String!]
    $from: DateTime!
    $minTradeAmount: String!
    $fromPrice: DateTime!
  ) {
    EVM(network: $network, dataset: combined) {
      DEXTrades(
        where: {
          Trade: {
            Dex: { ProtocolName: { is: $exchangeName }, OwnerAddress: { in: $ownerAddress } }
            Buy: { AmountInUSD: { gt: $minTradeAmount } }
          }
          Block: { Time: { after: $from } }
          TransactionStatus: { Success: true }
        }
      ) {
        Trade {
          Buy {
            Currency {
              Symbol
              SmartContract
            }
          }
          Sell {
            Currency {
              Symbol
              SmartContract
            }
          }
        }
        buyPrice: average(of: Trade_Buy_Price, if: { Block: { Time: { after: $fromPrice } } })
        buyAmount: sum(of: Trade_Buy_Amount)
        sellAmount: sum(of: Trade_Sell_Amount)
      }
    }
  }

Variables

{
    "network": "eth",
    "exchangeName": "uniswap_v2",
    "ownerAddress": "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f",
    "from": "2025-09-10T10:22:24.259Z",
    "minTradeAmount": 10,
    "fromPrice": "2025-09-11T10:17:24.259Z"
  }

Similar queries