trade for a specific eth transaction

Returns the latest 10 DEX trades on Ethereum, where transaction hash is 0x8dff…ba1a: block number, block time, from, to, transaction hash, sender, buy amount and 13 more fields.

By gaurav · saved 1 September 2023 · run 3 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: eth) {
    buyside: DEXTrades(
      limit: {count: 10}
      orderBy: {descending: Block_Time}
      where: {Transaction: {Hash: {is: "0x8dffb3d653cad2976efc2a8c9cd1317dbb77d741d79d2dd5ac3a0aef2e62ba1a"}}}
    ) {
      Block {
        Number
        Time
      }
      Transaction {
        From
        To
        Hash
      }
      Trade {
        Sender
        Buy {
          Amount
          Buyer
          Currency {
            Name
            Symbol
            SmartContract
          }
          Seller
          Price
        }
        Sell {
          Amount
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
          }
          Seller
          Price
        }
      }
    }
  }
}

Similar queries