Trades for a specific wallet

Returns the latest 10 DEX trades on Ethereum, where maker or taker is 0x0bd0…a4bb and date since 2021-06-01: timestamp time, block height, trade index, protocol, full name, address address, annotation and 9 more fields.

By Sayon · saved 11 August 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum {
    dexTrades(
      options: {desc: ["block.height", "tradeIndex"], limit: 10}
      date: {since: "2021-06-01", till: null}
      makerOrTaker: {is: "0x0bd070a1dba8b5f9a770ae4777d29941d94ba4bb"}) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      tradeIndex
      protocol
      exchange {
        fullName
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      buyAmount
      buyCurrency {
        address
        symbol
      }
      sellAmount
      sellCurrency {
        address
        symbol
      }
      transaction {
        hash
      }
      maker {
        address
      }
      taker {
        address
      }
    }
  }
}

Similar queries