BNB_price__

Returns the latest DEX trade by token on BNB Chain, where currency smart contract is 0x55d3…7955 and side currency smart contract is 0xbb4c…095c: trade price.

By Omkar_BQ · saved 4 March 2024 · run 9 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: realtime, network: bsc) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "0x55d398326f99059fF775485246999027B3197955"}}, Side: {Currency: {SmartContract: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}}}}}
      orderBy: {descending: Block_Number}
      limit: {count: 1}
    ) {
      Trade {
        Price
      }
    }
  }
}

Similar queries