Subscribe To Latest Trades On DEX

Streams the latest DEX trades on Arbitrum as they happen, where DEX protocol name is uniswap_v3: block number, block time, buy amount, buy buyer, buy seller, buy currency name, buy smart contract and 3 more fields.

By Ashish Bhintade · saved 21 April 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(network: arbitrum) {
    DEXTrades(
      orderBy: {descending: Block_Time}
      where: {Trade: {Dex: {ProtocolName: {is: "uniswap_v3"}}}}
    ) {
      Block {
        Number
        Time
      }
      Trade {
        Buy {
          Amount
          Buyer
          Seller
          Currency {
            Name
            SmartContract
          }
        }
        Sell {
          Amount
          Currency {
            Name
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries