Price of a USDT token in terms of WBNB on opBNB
Streams the latest 10 DEX trades on opBNB as they happen, where sell currency smart contract is 0x4200…0006 and buy currency smart contract is 0x9e5A…96f3: block time, buy amount, buy price, buy currency name, buy currency symbol, buy smart contract, sell amount and 4 more fields.
What it returns
- block time
- buy amount
- buy price
- buy currency name
- buy currency symbol
- buy smart contract
- sell amount
- sell price
- sell currency symbol
- sell smart contract
- sell currency name
Filters
- sell currency smart contract is 0x4200…0006
- buy currency smart contract is 0x9e5A…96f3
The subscription
subscription {
EVM(network: opbnb) {
DEXTrades(
where: {Trade: {Sell: {Currency: {SmartContract: {is: "0x4200000000000000000000000000000000000006"}}}, Buy: {Currency: {SmartContract: {is: "0x9e5AAC1Ba1a2e6aEd6b32689DFcF62A509Ca96f3"}}}}}
limit: {count: 10}
orderBy: {descending: Block_Time}
) {
Block {
Time
}
Trade {
Buy {
Amount
Price_in_terms_of_buy_currency: Price
Currency {
Name
Symbol
SmartContract
}
}
Sell {
Amount
Price_in_terms_of_buy_currency: Price
Currency {
Symbol
SmartContract
Name
}
}
}
}
}
}
Similar queries
- Real time trades on opBnB chain · opBNB · DEXTrades
- Realtime opbnb dex trades websocket · opBNB · DEXTrades
- Latest trades on opBNB · opBNB · DEXTrades
- opBnB chain mining reward · opBNB · MinerRewards
- OpBNB transfers · opBNB · Transfers