All token swaps for a given address

Returns the latest 10 DEX trades on Ethereum and BNB Chain, where maker or taker is 0x6f65…4a06 and date since 2021-01-05: transaction hash, address address, contract type, currency name, trade index, date date, block height and 10 more fields.

By gaurav · saved 11 October 2021 · run 27 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    dexTrades(
      options: {limit: 10, desc: "block.height"}
      date: {since: "2021-01-05"}
      makerOrTaker: {is: "0x6f6595b3f402dfb3b94e66244a3ac64d136d4a06"}
    ) {
      transaction {
        hash
      }
      smartContract {
        address {
          address
        }
        contractType
        currency {
          name
        }
      }
      tradeIndex
      date {
        date
      }
      block {
        height
      }
      buyAmount
      buyAmountInUsd: buyAmount(in: USD)
      buyCurrency {
        symbol
        address
      }
      sellAmount
      sellAmountInUsd: sellAmount(in: USD)
      sellCurrency {
        symbol
        address
      }
      sellAmountInUsd: sellAmount(in: USD)
      tradeAmount(in: USD)
      transaction {
        gasValue
        gasPrice
        gas
      }
    }
  }
}

Similar queries