eth_usdc_usdt_pair_trades

Returns DEX trades on Ethereum, where buy currency smart contract is 0xdac1…1ec7 or 0xa0b8…eb48 and sell currency smart contract is 0xdac1…1ec7 or 0xa0b8…eb48: buy amount, buy buyer, buy amount in USD, buy currency name, buy smart contract, buy price in USD, buy price and 16 more fields.

By Omkar_BQ · saved 6 November 2026 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: eth) {
    DEXTrades(
      where: {Trade: {Buy: {Currency: {SmartContract: {in: ["0xdac17f958d2ee523a2206206994597c13d831ec7", "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"]}}}, Sell: {Currency: {SmartContract: {in: ["0xdac17f958d2ee523a2206206994597c13d831ec7", "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"]}}}}}
    ) {
      Trade {
        Buy {
          Amount
          Buyer
          AmountInUSD
          Currency {
            Name
            SmartContract
          }
          PriceInUSD
          Price
        }
        Dex {
          SmartContract
          ProtocolFamily
          ProtocolName
          Pair {
            SmartContract
          }
        }
        Sell {
          Amount
          AmountInUSD
          Buyer
          Currency {
            SmartContract
            Symbol
          }
          PriceInUSD
          Price
        }
        Success
        Fees {
          Currency {
            Name
          }
          Amount
          Recipient
          Payer
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries