DEX market Analysis

Returns the latest 10 DEX trades on Ethereum, where block date after 2022-01-01: buy amount, buy buyer, buy currency name, buy currency symbol, buy ids, buy order ID, buy price and 21 more fields.

By Rohit Goyal · saved 2 March 2024 · run 18 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: realtime, network: eth) {
    DEXTrades(
      orderBy: {descending: Block_Time}
      limit: {count: 10}
      where: {Block: {Date: {after: "2022-01-01"}}, Trade: {Buy: {Currency: {Fungible: false}}}}
    ) {
      Trade {
        Buy {
          Amount
          Buyer
          Currency {
            Name
            Symbol
          }
          Ids
          OrderId
          Price
          Seller
          URIs
        }
        Sell {
          Amount
          Currency {
            Name
            Symbol
            SmartContract
          }
        }
        Sender
        Fees {
          Amount
          Currency {
            Name
            Symbol
          }
        }
        Dex {
          OwnerAddress
          ProtocolName
          ProtocolVersion
          SmartContract
        }
      }
      Transaction {
        From
        Hash
        Value
        To
        Gas
        GasPrice
        Cost
      }
    }
  }
}

Similar queries