Price aggregation of AAVE against WBNB

Returns DEX trades by token on BNB Chain, where side currency smart contract is 0xfb61…f802, currency smart contract is 0xbb4c…095c and block date since 2023-07-01: count, currency name, side currency name and trade price.

By gaurav · saved 31 July 2023 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: archive, network: bsc) {
    buyside: DEXTradeByTokens(
      where: {Trade: {Side: {Currency: {SmartContract: {is: "0xfb6115445bff7b52feb98650c87f44907e58f802"}}, Amount: {ge: "10"}}, Currency: {SmartContract: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}}}, Block: {Date: {since: "2023-07-01", till: "2023-08-01"}}}
    ) {
      count
      Trade {
        Currency {
          Name
        }
        Side {
          Currency {
            Name
          }
        }
        high: Price(maximum: Trade_Price)
        low: Price(minimum: Trade_Price)
        open: Price(minimum: Block_Number)
        close: Price(maximum: Block_Number)
      }
    }
  }
}

Similar queries