24 hours token data
Returns DEX trades by token on Solana, where currency mint address is 9d24jN…pump, side currency mint address is So1111…1112 and market market address is ABLmVk…LLn2: currency name, currency mint address, currency symbol, price in USD, protocol name, protocol family, program address and 6 more fields.
What it returns
- currency name
- currency mint address
- currency symbol
- price in USD
- protocol name
- protocol family
- program address
- market address
- side currency symbol
- side currency name
- side currency mint address
- count
- sum of trade side amount in USD
Filters
- currency mint address is 9d24jN…pump
- side currency mint address is So1111…1112
- market market address is ABLmVk…LLn2
- block time since 2024-12-23
The query
query MyQuery($address: String!, $pair_address: String!, $time_24h_ago: DateTime!) {
Solana(dataset: combined) {
DEXTradeByTokens(
where: {Transaction: {Result: {Success: true}}, Trade: {Currency: {MintAddress: {is: $address}}, Side: {Currency: {MintAddress: {is: "So11111111111111111111111111111111111111112"}}}, Market: {MarketAddress: {is: $pair_address}}}, Block: {Time: {since: $time_24h_ago}}}
) {
Trade {
Currency {
Name
MintAddress
Symbol
}
usd_24h: PriceInUSD(
minimum: Block_Time
if: {Block: {Time: {after: $time_24h_ago}}}
)
Dex {
ProtocolName
ProtocolFamily
ProgramAddress
}
Market {
MarketAddress
}
Side {
Currency {
Symbol
Name
MintAddress
}
}
}
trades_total: count
trades_24h: count(if: {Block: {Time: {after: $time_24h_ago}}})
traded_volume_total: sum(of: Trade_Side_AmountInUSD)
traded_volume_24h: sum(
of: Trade_Side_AmountInUSD
if: {Block: {Time: {after: $time_24h_ago}}}
)
buy_volume_total: sum(
of: Trade_Side_AmountInUSD
if: {Trade: {Side: {Type: {is: buy}}}}
)
buy_volume_24h: sum(
of: Trade_Side_AmountInUSD
if: {Trade: {Side: {Type: {is: buy}}}, Block: {Time: {after: $time_24h_ago}}}
)
sell_volume_total: sum(
of: Trade_Side_AmountInUSD
if: {Trade: {Side: {Type: {is: sell}}}}
)
sell_volume_24h: sum(
of: Trade_Side_AmountInUSD
if: {Trade: {Side: {Type: {is: sell}}}, Block: {Time: {after: $time_24h_ago}}}
)
buys_total: count(if: {Trade: {Side: {Type: {is: buy}}}})
buys_24h: count(
if: {Trade: {Side: {Type: {is: buy}}}, Block: {Time: {after: $time_24h_ago}}}
)
sells_total: count(if: {Trade: {Side: {Type: {is: sell}}}})
sells_24h: count(
if: {Trade: {Side: {Type: {is: sell}}}, Block: {Time: {after: $time_24h_ago}}}
)
}
}
}
Variables
{
"address": "9d24jNVbvHQH3pCB1ZzxRjpFuVV4j1MMJDU3SPxQpump",
"pair_address": "ABLmVkXfVNwuBu6J2mYyxDXRTzqnGj22c6vBTGgELLn2",
"time_24h_ago": "2024-12-23T07:15:00Z"
}
Similar queries
- ANSEM daily traders, June 16 to 26, 2026 · Solana · DEXTradeByTokens
- ANSEM swaps per hour, June 27, 2026 · 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