DEX trx for Wallet address

Returns the latest DEX trades on Ethereum: base currency symbol, base currency address, base currency name, base amount, quote currency symbol, quote currency address, decimals and 12 more fields.

By Isha · saved 1 September 2021 · run 2 times · Bitquery API v1

What it returns

The query

{
  ethereum(network: ethereum) {
              

    dexTrades(options: {desc: "block.height"}) {

      baseCurrency {
        symbol
        address
        name
      }
      baseAmount
      quoteCurrency {
        symbol
        address
        decimals
        name
      }
      block {height}
      quoteAmount
      trades: count
      quotePrice
      side
      maker {
        address
      }
      taker(taker: {is: "0xa14964479ebf9cd336011ad80652b08cd83dfe3a"}) {
        address
      }
      tradeAmount(in: USD)
      transaction {
        to {
          address
        }
        txFrom {
          address
        }
        hash
      }
    }
  }
}

Similar queries