Uniswap Trades

Returns the latest 10 DEX trades on Ethereum, where DEX owner address is 0x5c69…aa6f, buy currency smart contract is 0xc02a…6cc2 and sell currency smart contract is 0xdAC1…1ec7: block time, buy buyer, buy currency name, buy currency symbol, buy smart contract, buy amount in USD, buy price in USD and 6 more fields.

By Kshitij Mahajan · saved 16 June 2024 · run 19 times · Bitquery API v2

What it returns

Filters

The query

query UniswapTrades {
  EVM(mempool: true, network: eth) {
    buyside: DEXTrades(
      where: {Trade: {Dex: {OwnerAddress: {is: "0x5c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f"}}, Buy: {Currency: {SmartContract: {is: "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}}}, Sell: {Currency: {SmartContract: {is: "0xdAC17F958D2ee523a2206206994597C13D831ec7"}}}}}
      limit: {count: 10}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time
      }
      Trade {
        Buy {
          Buyer
          Currency {
            Name
            Symbol
            SmartContract
          }
          AmountInUSD
          PriceInUSD
        }
        Sell {
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
          }
          AmountInUSD
          PriceInUSD
        }
      }
    }
  }
}

Similar queries