Query for price in live
Streams DEX trades on BNB Chain as they happen, where sell currency smart contract is 0x55d3…7955, buy currency smart contract is 0xbb4c…095c and buy currency smart contract is 0x55d3…7955: block time, sell buyer, sell amount, sell currency symbol, buy price, buy amount, buy currency symbol and sell price.
What it returns
- block time
- sell buyer
- sell amount
- sell currency symbol
- buy price
- buy amount
- buy currency symbol
- sell price
Filters
- sell currency smart contract is 0x55d3…7955
- buy currency smart contract is 0xbb4c…095c
- buy currency smart contract is 0x55d3…7955
- sell currency smart contract is 0xbb4c…095c
The subscription
subscription {
EVM(network: bsc) {
buy: DEXTrades(
where: {Trade: {Sell: {Currency: {SmartContract: {is: "0x55d398326f99059ff775485246999027b3197955"}}}, Buy: {Currency: {SmartContract: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}}}}}
) {
Block {
Time
}
Trade {
Sell {
Buyer
Amount
Currency {
Symbol
}
}
Buy {
Price
Amount
Currency {
Symbol
}
}
}
}
sell: DEXTrades(
where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x55d398326f99059ff775485246999027b3197955"}}}, Sell: {Currency: {SmartContract: {is: "0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c"}}}}}
) {
Block {
Time
}
Trade {
Sell {
Price
Buyer
Amount
Currency {
Symbol
}
}
Buy {
Amount
Currency {
Symbol
}
}
}
}
}
}
Similar queries
- subscribe to dex trades on ethereum mainnet · BNB Chain · DEXTrades
- Mempool - Latest BSC PancakeSwap v3 dextrades - Stream · BNB Chain · DEXTrades
- Latest BSC PancakeSwap v3 dextrades - Stream · BNB Chain · DEXTrades
- BNB dextrades · BNB Chain · DEXTrades
- stream trades on fourmeme · BNB Chain · DEXTrades