On particular address Trx list

Returns the latest 10 DEX trades on Ethereum, where base currency is 0x0759…2504: 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 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: ethereum) {
    dexTrades(
      options: {limit:10 desc: "block.height"}
      baseCurrency: {is: "0x07597255910a51509ca469568b048f2597e72504"}
    ) {
      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