Stream- BSC PancakeSwap v3 Price for a token

Streams DEX trades by token on BNB Chain as they happen, where DEX owner address is 0x0bfb…1865, currency smart contract is 0x0e09…ce82 and side currency smart contract is 0xbb4c…095c: trade price, price in USD, side currency name, side currency symbol and side smart contract.

By gaurav · saved 10 April 2025 · run 2 times · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(network: bsc) {
    DEXTradeByTokens(
      orderBy: [{descending: Block_Time}, {descending: Transaction_Index}, {descending: Trade_Index}]
      where: {Trade: {Dex: {OwnerAddress: {is: "0x0bfbcf9fa4f9c56b0f40a671ad40e0805a091865"}}, Currency: {SmartContract: {is: "0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82"}}, Side: {Currency: {SmartContract: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}}}}}
    ) {
      Trade {
        Price
        PriceInUSD
        Side {
          Currency {
            Name
            Symbol
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries