Band Protocol Oracle Readings

Uses events from Band protocol smart contract to get readings of rates by symbols

By Aleksey · saved 9 November 2020 · run 2 times · Bitquery API v1

What it returns

Filters

The query

{
  ethereum(network: bsc_testnet) {
    smartContractEvents(options: {desc: "block.height", limit: 10}, 
      smartContractEvent: {is: "RefDataUpdate(string,uint64,uint64,uint64)"},
      smartContractAddress: {is: "0x56761c813fecb76b4df87ddb1912f5855b22ae5a"}) {
      block {
        height
        timestamp{time}
      }
      transaction{hash}
      eventIndex
      arguments {
        value
        argument
      }
    }
  }
}

Similar queries