count solana tokens with protocolName and sideCurrency
Returns DEX trades by token on Solana, where side currency mint address is 111111…1111, DEX protocol name is pump and block date since 2024-05-18: count.
What it returns
- count
Filters
- side currency mint address is 111111…1111
- DEX protocol name is pump
- block date since 2024-05-18
- block date till 2024-05-31
The query
query countSolanaTokensByProtocolNameAndSideCurrencyBetween($dataset: dataset_arg_enum, $startDate: String, $endDate: String, $protocolName: String, $sideCurrency: String) {
Solana(dataset: $dataset) {
DEXTradeByTokens(
where: {
Trade: {
Dex: {
ProtocolName: {
is: $protocolName
}
},
Side: {
Currency: {
MintAddress: {
is: $sideCurrency
}
}
}
},
Block: {
Date: {
since: $startDate,
till: $endDate
}
}
}
) {
count(distinct: Trade_Currency_MintAddress)
}
}
}
Variables
{
"dataset": "archive",
"startDate": "2024-05-18",
"endDate": "2024-05-31",
"protocolName": "pump",
"sideCurrency": "11111111111111111111111111111111"
}
Similar queries
- ANSEM daily traders, June 16 to 26, 2026 · Solana · DEXTradeByTokens
- Solana SOL/USDC 1-Minute OHLC with DEXTradeByTokens · Solana · DEXTradeByTokens
- FOMO App: Top Tokens Bought, Last Hour (Solana) · Solana · DEXTradeByTokens
- FOMO App: Most Active Wallets, Last Hour (Solana) · Solana · DEXTradeByTokens
- Buys, Sells, BuyVolume, SellVolume, Makers, TotalTradedVolume, PriceinUSD for solana token pair · Solana · DEXTradeByTokens