transactions + seller

Returns 10 DEX trades on Ethereum and BNB Chain, where buy currency is 0x683f…bfe0 or 0xbb4c…095c, sell currency is 0x683f…bfe0 or 0xbb4c…095c and date since 2021-10-20: second, side, taker address, maker address, base currency address, sell amount, sell currency address and 7 more fields.

By Kevin · saved 6 January 2022 · run 1 time · Bitquery API v1

What it returns

Filters

The query

query MyQuery {
  ethereum(network: bsc) {
    dexTrades(
      date: {since: "2021-10-20", till: "2021-10-21"}
      buyCurrency: {in: ["0x683fae4411249ca05243dfb919c20920f3f5bfe0", "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"]}
      sellCurrency: {in: ["0x683fae4411249ca05243dfb919c20920f3f5bfe0", "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"]}
      options: {limit: 10, offset: 10}
    ) {
      timeInterval {
        second(format: "%FT%TZ", count: 1)
      }
      side
      taker {
        address
      }
      maker {
        address
      }
      baseCurrency {
        address
      }
      sellAmountUSD: sellAmount(in: USD)
      sellAmount
      sellCurrency {
        address
        symbol
      }
      buyAmountUSD: buyAmount(in: USD)
      buyAmount
      buyCurrency {
        symbol
        address
      }
      count
      transaction {
        to {
          address
        }
        txFrom {
          address
        }
      }
    }
  }
}

Variables

{
  "limit": 10,
  "offset": 0,
  "network": "ethereum",
  "address": "0x477573f212a7bdd5f7c12889bd1ad0aa44fb82aa",
  "from": null,
  "till": null,
  "dateFormat": "%Y-%m"
}

Similar queries