Latest trade of a token

Returns the latest 10 DEX trades on Ethereum, where base currency is 0xec53…1F83: quote price, timestamp time, block height, trade index, protocol, full name, address address and 9 more fields.

By Akshay · saved 2 January 2025 · run 1 time · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {desc: ["block.height", "tradeIndex"], limit: 10}
      baseCurrency: {is: "0xec53bF9167f50cDEB3Ae105f56099aaaB9061F83"}
    ) {
      quotePrice
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      tradeIndex
      protocol
      exchange {
        fullName
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      baseAmount
      baseCurrency {
        address
        symbol
      }
      quoteAmount
      quoteCurrency {
        address
        symbol
      }
      transaction {
        hash
      }
      price
    }
  }
}

Similar queries