BNB Price Daily Basis

Returns 50 DEX trades by token on BNB Chain, where side currency smart contract is 0xbb4c…095c, currency smart contract is 0x55d3…7955 and block date since 2023-12-01, sorted by block time: block time, trade price, side currency symbol and currency symbol.

By lukas · saved 8 December 2023 · run 7 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: bsc, dataset: combined) {
    DEXTradeByTokens(
      orderBy: {ascendingByField: "Block_Time"}
      where: {Trade: {Side: {Currency: {SmartContract: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}}}, Currency: {SmartContract: {is: "0x55d398326f99059fF775485246999027B3197955"}}}, Block: {Date: {since: "2023-12-01", till: "2023-12-07"}}}
      limit: {count: 50}
    ) {
      Block {
        Time(interval: {in: days, count: 1})
      }
      Trade {
        close: Price(maximum: Block_Number)
        Side {
          Currency {
            Symbol
          }
        }
        Currency {
          Symbol
        }
      }
    }
  }
}

Similar queries