SYA Trades

blabla

Returns one address detail on Ethereum and BNB Chain, where sell currency is 0x0567…98F7 and buy currency is 0xbb4C…095c, sorted by time interval minute, highest first: address, history value, block, transfer amount, timestamp, currency address, minute and 10 more fields.

By FlorianPohl · saved 17 May 2021 · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc) {
    address(address: {is: ""}) {
      address
      balances(
        currency: {is: "0x0567D7fad179dCd2a89508B77cCe93E26f8998F7"}
        height: {gteq: 8380693}
      ) {
        history {
          value
          block
          transferAmount
          timestamp
        }
        currency {
          address
        }
      }
    }
    dexTrades(
      sellCurrency: {is: "0x0567D7fad179dCd2a89508B77cCe93E26f8998F7"}
      buyCurrency: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}
      options: {limit: 1, desc: "timeInterval.minute"}
    ) {
      timeInterval {
        minute(count: 5)
      }
      baseAmount
      quoteAmount
      trades: count
      block {
        height
      }
      taker {
        address
      }
      transaction {
        hash
      }
      baseCurrency {
        symbol
        address
      }
      quoteCurrency {
        symbol
        address
      }
    }
  }
}

Similar queries