wrong_request_500

Returns 10000 DEX trades on Ethereum, where tx sender is 0x4d0b84c0238f41be8629e25553774bfada4a5475 2024-11-09 02:08:11, sorted by block height trade index: timestamp time, unixtime, block height, trade index, protocol, full name, address address and 13 more fields.

By Omkar_BQ · saved 13 November 2024 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {asc: ["block.height", "tradeIndex"], offset: 0, limit: 10000}
      txSender: {is: "0x4d0b84c0238f41be8629e25553774bfada4a5475 2024-11-09 02:08:11"}
    ) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
          unixtime
        }
        height
      }
      tradeIndex
      protocol
      exchange {
        fullName
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      buyAmount
      buy_amount_usd: buyAmount(in: USD)
      buyCurrency {
        address
        symbol
      }
      sellAmount
      sell_amount_usd: sellAmount(in: USD)
      sellCurrency {
        address
        symbol
      }
      transaction {
        hash
        gas
        gasPrice
        to {
          address
        }
        txFrom {
          address
        }
        gasValue
      }
    }
  }
}

Similar queries