buy_txn_txn_from_limit_by_2

Returns the latest DEX trades on Ethereum, where sell currency smart contract is 0x88e8…f808 and transaction from is 0x8d3D…51F1: transaction hash and from.

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

What it returns

Filters

The query

{
  EVM(network: eth, dataset: combined) {
    DEXTrades(
      orderBy: {descending: Block_Number}
      where: {Trade: {Sell: {Currency: {SmartContract: {is: "0x88e8e2675f1c68a1df2927e31523bb3ed320f808"}}}}, Transaction: {From: {in: ["0x8d3D6458a80669Eb74726B2EB23B9169083a51F1"]}}}
      limitBy: {by: Transaction_Hash, count: 1}
    ) {
      Transaction {
        Hash
        From
      }
    }
  }
}

Similar queries