weth_usdt_trade

Returns the latest 50 DEX trades on Ethereum, where smart contract address is 0x0d4a…1852 and height is below 18992907: transaction hash, block height, trade amount, exchange name and trade index.

By Omkar_BQ · saved 14 January 2024 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {limit: 50, desc: "block.height", ascByInteger: "tradeIndex"}
      smartContractAddress: {is: "0x0d4a11d5eeaac28ec3f61d100daf4d40471f1852"}
      height: {lt: 18992907}
    ) {
      transaction {
        hash
      }
      block {
        height
      }
      tradeAmount(in: USD)
      exchange {
        name
      }
      tradeIndex
    }
  }
}

Similar queries