Trades of an address in real time

Returns DEX trades on Ethereum: buy buyer, buy amount, buy currency name, buy currency symbol, buy price, buy seller, sell currency name and 6 more fields.

By gaurav · saved 4 April 2024 · run 7 times · Bitquery API v2

What it returns

The query

{
  EVM(network: eth, dataset: realtime) {
    DEXTrades(
      where: {any: [{Trade: {Buy: {Buyer: {is: "0xfd520791d46c9c0bd5b6387a5b63d3b21620fac2"}}}}, {Trade: {Buy: {Seller: {is: "0xfd520791d46c9c0bd5b6387a5b63d3b21620fac2"}}}}]}
    ) {
      Trade {
        Buy {
          Buyer
          Amount
          Currency {
            Name
            Symbol
            Name
          }
          Price
          Seller
        }
        Sell {
          Currency {
            Name
            SmartContract
            Symbol
          }
          Amount
        }
      }
      Transaction {
        Hash
      }
      Block {
        Time
        Number
      }
    }
  }
}

Similar queries