live_price_stellar

Returns DEX trades by token on BNB Chain, where side currency smart contract is 0x43c9…f1b9 or 0xcc42…82bd and currency smart contract is 0xbb4C…095c: trade price, side currency name, side smart contract and side currency symbol.

By Omkar_BQ · saved 19 March 2024 · run 6 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: bsc) {
    DEXTradeByTokens(
      where: {Trade: {Side: {Currency: {SmartContract: {in: ["0x43c934a845205f0b514417d757d7235b8f53f1b9", "0xcc42724c6683b7e57334c4e856f4c9965ed682bd"]}}}, Currency: {SmartContract: {is: "0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c"}}}}
    ) {
      Trade {
        Price(maximum: Block_Number)
        Side {
          Currency {
            Name
            SmartContract
            Symbol
          }
        }
      }
    }
  }
}

Similar queries