Latest OHLC info WBNB-USDT on pancake
Streams DEX trades by token on opBNB as they happen, where currency smart contract is 0x4200…0006, side currency smart contract is 0x9e5a…96f3 and DEX smart contract is 0x706f…e91d: block date, sum of trade amount, trade price, currency name, protocol name, smart contract, side currency name and 2 more fields.
What it returns
- block date
- sum of trade amount
- trade price
- currency name
- protocol name
- smart contract
- side currency name
- side smart contract
- count
Filters
- currency smart contract is 0x4200…0006
- side currency smart contract is 0x9e5a…96f3
- DEX smart contract is 0x706f…e91d
The subscription
subscription {
EVM(network: opbnb) {
DEXTradeByTokens(
# WBNB-USDT on pancake
where: {Trade: {Currency: {SmartContract: {is: "0x4200000000000000000000000000000000000006"}}, Side: {Currency: {SmartContract: {is: "0x9e5aac1ba1a2e6aed6b32689dfcf62a509ca96f3"}}}, Dex: {SmartContract: {is: "0x706f7257e78b6f2404a1afb5c480645a6f5be91d"}}}}
) {
Block {
Date(interval: {in: days, count: 1})
}
volume: sum(of: Trade_Amount)
Trade {
high: Price(maximum: Trade_Price)
low: Price(minimum: Trade_Price)
open: Price(minimum: Block_Number)
close: Price(maximum: Block_Number)
Currency {
Name
}
Dex {
ProtocolName
SmartContract
}
Side {
Currency {
Name
SmartContract
}
}
}
count
}
}
}
Similar queries
- Latest price of a USDT in USD on opBNB · opBNB · DEXTradeByTokens
- Latest OHLC info · opBNB · DEXTradeByTokens
- opBnB chain mining reward · opBNB · MinerRewards
- Real time Smart contract events on opBnB chain · opBNB · Events
- OpBNB transfers · opBNB · Transfers