latest BSC trades

Returns the latest 10 DEX trades on Ethereum and BNB Chain, where date after 2021-05-10: transaction hash, trade index, date date, block height, buy amount, buy currency symbol, buy currency address and 7 more fields.

By gaurav · saved 16 May 2021 · run 6 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(options: {limit: 10, desc: ["block.height", "tradeIndex"]}
    date: {after: "2021-05-10"}) {
      transaction {
        hash
      }
      tradeIndex
      date {
        date
      }
      block {
        height
      }
      buyAmount
      buyAmountInUsd: buyAmount(in: USD)
      buyCurrency {
        symbol
        address
      }
      sellAmount
      sellAmountInUsd: sellAmount(in: USD)
      sellCurrency {
        symbol
        address
      }
      sellAmountInUsd: sellAmount(in: USD)
      tradeAmount(in: USD)
      transaction {
        gasValue
        gasPrice
        gas
      }
    }
  }
}

Similar queries