Last 50 transactions

Returns the latest 50 DEX trades on Ethereum and BNB Chain, where base currency is 0x0e09…ce82: block height, timestamp time, unixtime, transaction hash, tx from address, to address, sell currency symbol and 10 more fields.

By CupidGracer · saved 28 July 2021 · run 8 times · Bitquery API v1

What it returns

Filters

The query

query {
ethereum(network: bsc) {
      dexTrades(
          baseCurrency: {is: "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"}
          options: {desc: "block.height", limit: 50}
      ) {
          block {
              height
              timestamp {
                  time(format: "%H:%M:%S")
                  unixtime
              }
          }
          transaction {
              hash
              txFrom{
                  address
              }
              to{
                  address
              }
          }
          sellCurrency {
              symbol
              address
          }
          buyCurrency {
              symbol
              address
          }
          buyAmount
          sellAmount
          side
          tradeAmount(in: USDT)
          protocol
          taker {
            address
          }
          exchange{
              name
          }
      }
  }
}

Variables

{"limit":10,
  "offset":0,
  "network":"bsc",
  "address":"0x4319e7a95fd3f0660d25bc6a4ecdc0f3cb4200c5"
}

Similar queries