Uniswap v2 live transaction data

Streams DEX trades on Ethereum as they happen, where DEX protocol name is uniswap_v2: block time, buy amount, buy buyer, buy price in USD, buy seller, buy currency symbol, buy smart contract and 12 more fields.

By Akshat · saved 28 May 2024 · run 4 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(network: eth) {
    DEXTrades(where: {Trade: {Dex: {ProtocolName: {is: "uniswap_v2"}}}}) {
      Block {
        Time
      }
      Trade {
        Buy {
          Amount
          Buyer
          PriceInUSD
          Seller
          Currency {
            Symbol
            SmartContract
            Name
          }
        }
        Dex {
          SmartContract
          ProtocolName
          ProtocolFamily
        }
        Sell {
          Amount
          Buyer
          PriceInUSD
          Currency {
            Symbol
            Name
            ProtocolName
          }
          Seller
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries