Price of a USDT token in terms of WBNB on opBNB
Returns the latest DEX trade by token on opBNB, where currency smart contract is 0x9e5A…96f3 and side currency smart contract is 0x4200…0006: block time, trade amount, trade price, currency symbol, currency name, side amount, side currency name and side currency symbol.
What it returns
- block time
- trade amount
- trade price
- currency symbol
- currency name
- side amount
- side currency name
- side currency symbol
Filters
- currency smart contract is 0x9e5A…96f3
- side currency smart contract is 0x4200…0006
The query
query MyQuery {
EVM(network: opbnb) {
DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {is: "0x9e5AAC1Ba1a2e6aEd6b32689DFcF62A509Ca96f3"}}, Side: {Currency: {SmartContract: {is: "0x4200000000000000000000000000000000000006"}}}}}
limit: {count: 1}
orderBy: {descending: Block_Time}
) {
Block {
Time
}
Trade {
Amount
Price_of_a_token_in_BNB: Price
Currency {
Symbol
Name
}
Side {
Amount
Currency {
Name
Symbol
}
}
}
}
}
}
Similar queries
- opBnB top tokens · opBNB · DEXTradeByTokens
- Copy don Donald · opBNB · DEXTradeByTokens
- Error query · opBNB · DEXTradeByTokens
- Latest OHLC info · opBNB · DEXTradeByTokens
- opbnb avg, sum & sum in usd fees · opBNB · Transactions