Dex transfers

Returns DEX trades on Ethereum and BNB Chain, where tx sender is 0x69f1…089b, sorted by block height: timestamp time, block height, buy amount, buy currency symbol, sell amount, sell currency address, address address and 2 more fields.

By Sascha Mayr · saved 9 June 2021 · Bitquery API v1

What it returns

Filters

The query

query ($address: String!) {
  ethereum(network: bsc) {
    dexTrades(options: {asc: "block.height"}, txSender: {is: $address}) {
      block {
        timestamp {
          time(format: "%Y-%m-%d %H:%M:%S")
        }
        height
      }
      buyAmount
      buyCurrency {
        symbol
      }
      sellAmount
      sellCurrency {
        address
      }
      address {
        address
      }
      price
      tradeAmount(in: BTC)
    }
  }
}

Variables

{
  "address": "0x69f10e260fd0948692b92b71f2fac58000e7089b"
}

Similar queries