Transactions history

Returns the latest DEX trade on Ethereum and BNB Chain, where base currency is 0x8076…d8d3 and date till 2021-03-09: block height, timestamp time, unixtime, sell currency symbol, sell currency address, buy currency symbol, buy currency address and 5 more fields.

By Artem · saved 21 January 2022 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query {
      ethereum(network: bsc) {
          dexTrades(
            baseCurrency: {is: "0x8076c74c5e3f5852037f31ff0093eeb8c8add8d3"}
            options: {desc: "block.height", limit: 1}
            date: { till: "2021-03-09" }
          ) {
              block {
                  height
                  timestamp {
                      time(format: "%H:%M:%S")
                      unixtime
                  }
              }
              sellCurrency {
                  symbol
                  address
              }
              buyCurrency {
                  symbol
                  address
              }
              buyAmount
              sellAmount
              side
              tradeAmount(in: USDT)
              exchange {
                  name
              }
          }
      }
  }

Similar queries