transaction_index

Returns the latest DEX trade on Ethereum, where date is 2024-01-11: buy amount, buy currency address, sell amount, sell currency address, price, transaction index, transaction hash and block height.

By Omkar_BQ · saved 11 January 2024 · run 3 times · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: ethereum) {
    dexTrades(options: {desc: "block.height", limit: 1}, date: {is: "2024-01-11"}) {
      buyAmount
      buyCurrency {
        address
      }
      sellAmount
      sellCurrency {
        address
      }
      price
      transaction {
        index
        hash
      }
      block {
        height
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "from": "2024-01-11T05:16:55.000Z",
  "till": "2024-01-11T05:46:55.999Z",
  "dateFormat": "%Y-%m-%d"
}

Similar queries