which dex token belongs too
Returns one DEX trade by token on Solana, where currency mint address is 3hFjKf…moon, block time since 2023-12-27 and block time till 2024-12-31, sorted by block time: program address, protocol family, protocol name and block time.
What it returns
- program address
- protocol family
- protocol name
- block time
Filters
- currency mint address is 3hFjKf…moon
- block time since 2023-12-27
- block time till 2024-12-31
- side amount is above 0
The query
query MyQuery($token: String, $time_ago: DateTime, $time_before: DateTime, $resolution: OLAP_DateTimeIntervalUnits, $space: Int) {
Solana(dataset: combined) {
DEXTradeByTokens(
limit: {count: 1}
orderBy: {ascendingByField: "Block_Time"}
where: {Block: {Time: {since: $time_ago, till: $time_before}, Date: {}}, Trade: {Side: {Amount: {gt: "0"}}, Currency: {MintAddress: {is: $token}}}}
) {
Trade {
Dex {
ProgramAddress
ProtocolFamily
ProtocolName
}
}
Block {
Time(interval: {count: $space, in: $resolution})
}
}
}
}
Variables
{
"token": "3hFjKff7if3BkK4fdmGf13KFM7twPCTh92fG8LRkmoon",
"time_ago": "2023-12-27T00:00:00.000Z",
"time_before": "2024-12-31T00:23:00.000Z",
"space": 5,
"resolution": "years"
}
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