top tokens by price change 5 min
Returns 100 DEX trades by token on BNB Chain, where side currency smart contract is 0xbb4C…095c, 0x55d3…7955 or 2 more and DEX protocol name is fourmeme_v1, sorted by change 1 hr, highest first: currency name, currency symbol, smart contract, price in USD and calculate.
What it returns
- currency name
- currency symbol
- smart contract
- price in USD
- calculate
Filters
- side currency smart contract is 0xbb4C…095c, 0x55d3…7955 or 2 more
- DEX protocol name is fourmeme_v1
The query
query MyQuery {
EVM(network: bsc dataset:combined) {
DEXTradeByTokens(
limit:{count:100}
orderBy:{descendingByField:"change_1hr"}
where: {Block: {Time: {since_relative: {hours_ago: 24}}}, TransactionStatus: {Success: true}, Trade: {Dex: {ProtocolName: {is: "fourmeme_v1"}}, Side: { Currency: {SmartContract: {in: ["0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c", "0x55d398326f99059fF775485246999027B3197955", "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d", "0x17EAfd08994305D8AcE37EfB82F1523177eC70EE"]}}}}}
) {
Trade {
Currency {
Name
Symbol
SmartContract
}
price_24hr: PriceInUSD(minimum: Block_Time)
price_1hr: PriceInUSD(maximum: Block_Time if: {Block: {Time: {till_relative: {hours_ago: 1}}}} )
price_5min: PriceInUSD(maximum: Block_Time if: {Block: {Time: {till_relative: {minutes_ago: 5}}}})
current: PriceInUSD(maximum:Block_Time)
}
change_24hr: calculate(
expression: "( $Trade_current - $Trade_price_24hr ) / $Trade_price_24hr * 100"
)
change_1hr: calculate(
expression: "( $Trade_current - $Trade_price_1hr ) / $Trade_price_1hr * 100"
)
change_5min: calculate(
expression: "( $Trade_current - $Trade_price_5min ) / $Trade_price_5min * 100"
)
}
}
}
Similar queries
- bStocks 3am: QQQB 30-day DEX volume · BNB Chain · DEXTradeByTokens
- bStocks 3am: tokenized Tesla 30-day volume · BNB Chain · DEXTradeByTokens
- bsc token ohlcv · BNB Chain · DEXTradeByTokens
- optimized query to get pools data · Ethereum · DEXTradeByTokens
- KTI_primeiros_trades · BNB Chain · DEXTradeByTokens