buy_txn_OCISLY_

Returns the latest 5 DEX trades on Ethereum, where buy currency smart contract is 0x356e…26c9 and buy buyer is 0xc32c…1be8 or 0x19dd…114F: buy amount, buy buyer, buy seller, buy price, buy currency name, buy currency symbol and transaction hash.

By Omkar_BQ · saved 21 October 2023 · run 3 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    DEXTrades(
      limit: {count: 5}
      orderBy: {descending: Block_Number}
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x356e17967206eFb413b60AB0Ba44E269063A26c9"}}, Buyer: {in: ["0xc32c2d9768919deaee60f7eb163a293c6eb81be8","0x19ddB8F5dCE3e17603992fE3a56e8B0178e2114F"]}}}}
    ) {
      Trade {
        Buy {
          Amount
          Buyer
          Seller
          Price
          Currency {
            Name
            Symbol
          }
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries