buy_txn_txn_buyer

Returns the latest DEX trades on Ethereum, where buy currency smart contract is 0x88e8…f808 and buy buyer is 0x2435…114d: buy amount, buy buyer, buy seller, buy price, buy currency name, buy currency symbol, transaction hash and from.

By Divyasshree N · saved 24 October 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    DEXTrades(
      orderBy: {descending: Block_Number}
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x88e8e2675f1c68a1df2927e31523bb3ed320f808"}}, Buyer: {is: "0x2435aa6afd562b316180802c4f90d9323789114d"}}}}
      limitBy: {by: Transaction_Hash, count: 1}
    ) {
      Trade {
        Buy {
          Amount
          Buyer
          Seller
          Price
          Currency {
            Name
            Symbol
          }
        }
      }
      Transaction {
        Hash
        From
      }
    }
  }
}

Similar queries