PANDORA trade 1

Returns DEX trades on Ethereum, where transaction hash is 0x5e45…7c4f: buy buyer, buy amount, buy seller, buy price, buy currency name, buy smart contract, buy protocol name and 13 more fields.

By Kshitij Mahajan · saved 23 December 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query lastTrades($network: evm_network) {
  EVM(network: $network, dataset: combined) {
    DEXTrades(
      where: {Transaction: {Hash: {is: "0x5e453740823aff34ceea6efb2a8d867a12434772182a787e1f93ba4bb74f7c4f"}}}
    ) {
      Trade {
        Buy {
          Buyer
          Amount
          Seller
          Price
          Currency {
            Name
            SmartContract
            ProtocolName
          }
        }
        Dex {
          ProtocolVersion
          ProtocolName
          ProtocolFamily
          Pair {
            Symbol
          }
        }
        Sell {
          Buyer
          Price
          Seller
          Amount
          Currency {
            Name
          }
        }
      }
      Block {
        Number
        Time
      }
      Transaction {
        From
        To
      }
    }
  }
}

Variables

{
  "network": "eth"
}

Similar queries