token burn example solana
Historical data This query uses the realtime dataset (the default), which holds only a recent window - hours to days depending on the cube. For older data add a dataset to the top-level element: Solana(dataset: combined) archive full history combined archive + realtime in one result Archive and c
What it returns
- currency name
- currency symbol
- currency mint address
- decimals
- token supply update amount
- amount in USD
- pre balance
- pre balance in USD
- post balance
- post balance in USD
- account address
- account owner
- token owner
- block time
- block height
- program address
- method
- transaction signature
Filters
- token supply update amount is below 0
The query
# Historical data
# This query uses the realtime dataset (the default), which holds only a
# recent window - hours to days depending on the cube.
#
# For older data add a dataset to the top-level element:
#
# Solana(dataset: combined)
#
# archive full history
# combined archive + realtime in one result
#
# Archive and combined need the historical data add-on:
# https://bitquery.io/pricing
#
# Datasets: https://docs.bitquery.io/docs/graphql/dataset/archive/
# Retention: https://docs.bitquery.io/docs/graphql/data-coverage-retention/
#
{
Solana {
TokenSupplyUpdates(
where: {TokenSupplyUpdate: {Amount: {lt: "0"}}}
limit: {count: 20}
orderBy: {descending: Block_Time}
) {
TokenSupplyUpdate {
Currency {
Name
Symbol
MintAddress
Decimals
}
Amount
AmountInUSD
PreBalance
PreBalanceInUSD
PostBalance
PostBalanceInUSD
Account {
Address
Owner
Token {
Owner
}
}
}
Block {
Time
Height
}
Instruction {
Program {
Address
Method
}
}
Transaction {
Signature
}
}
}
}
Similar queries
- price · Solana · DEXTradeByTokens
- token creation using token supply updates · Solana · TokenSupplyUpdates
- Solana TokenSupplyUpdates · Solana · TokenSupplyUpdates
- NVIDA (NVIDA COIN) USD 0 · Solana · TokenSupplyUpdates
- new pumpfun tokens · Solana · TokenSupplyUpdates