get USDT token trx

Returns the latest 10 DEX trades on Ethereum, where base currency is 0xdac1…1ec7: date date, block height, transaction hash, tx from address, to address, base currency name, base currency symbol and 9 more fields.

By Isha · saved 28 September 2021 · run 1 time · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {limit: 10, desc: "block.height"}
      baseCurrency: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}
    ) {
      date {
        date(format: "%Y-%m-%dT%H:%M:%SZ")
      }
      block {
        height
      }
      transaction {
        hash
        txFrom {
          address
        }
        to {
          address
        }
      }
      baseCurrency {
        name
        symbol
        decimals
      }
      baseAmount(calculate: maximum)
     buyAmountInUsd: buyAmount(in: USD)
      buyCurrency {
        symbol
        address
      }
       sellAmountInUsd: sellAmount(in: USD)
       sellCurrency {
        symbol
        address
      }
      side
    }
  }
}

Similar queries