Get TokensTX - Share

Returns 20 DEX trades on Ethereum and BNB Chain, where date since 2021-12-17 and time since 2021-12-17, sorted by time interval minute trade index, highest first: transaction hash, trade index, buy amount, buy currency symbol, sell amount, sell currency symbol, trade amount and 3 more fields.

By minhthien309 · saved 20 December 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
        options: {limit: 20, desc: ["timeInterval.minute", "tradeIndex"]}
        date: {since: "2021-12-17T17:00:00"}
        time: {since: "2021-12-17T17:00:00"}
    ) {
        transaction {
            hash
        }
        tradeIndex
        buyAmount
        buyAmountInUsd: buyAmount(in: USD)
        buyCurrency(buyCurrency: {is: "0x2170ed0880ac9a755fd29b2688956bd959f933f8"}) {
            symbol
        }
        sellAmount
        sellCurrency {
            symbol
        }
        sellAmountInUsd: sellAmount(in: USD)
        tradeAmount(in: USD)
        timeInterval {
            minute(count: 1, format: "%H:%M:%S")
        }
        price
        exchange(exchangeName: {not: ""}) {
            name
        }
    }
  }
}

Similar queries