Analytics and research
Analytics and research in the Carbium Library: 15 working Solana examples, among them Date-range transaction query and Token holder overlap report.
- Date-range transaction query UC0123
Walk an address's signature history newest first with a before cursor, keep the entries inside a date range, then fetch the newest transactions.
- Token holder overlap report UC0122
Estimate how many holders of one SPL token also hold another by sampling owners from recent transactions and checking each against the second mint.
- New token creation rate UC0121
Count new SPL token mints as they appear, using a Carbium logsSubscribe feed on the Token programs and getTransaction to read each new mint address.
- Failed transaction rate by program UC0120
Measure how many of a program's newest transactions failed on chain, group them by error and failing program, and total the fees they paid.
- Top programs by activity UC0118
Rank the programs that the newest confirmed blocks invoke, with each one's share of transactions and its failure count, from a short getBlock sample.
- Pool reserve price series UC0116
Derive a Solana token price from an LP pair: read both pool vaults in one call, divide the reserves by decimals, and store the series in SQLite.
- Holder distribution histogram UC0113
Bucket the balances of a mint's recently active holders into a power-of-ten histogram with each bucket's share of supply, using plain RPC reads.
- Daily transaction count series UC0112
Collect the network's one-minute transaction counts into SQLite and read them back as transactions per UTC day, with the minutes each day covers.
- Reproducible research snapshot UC0114
Pin a Solana read to one slot, store it with commitment, block time and a sha256 digest in a manifest, and verify the file later.
- Protocol TVL monitor UC0068
Value the token accounts a Solana protocol holds in one batched read at a price per mint, store each total, and alert when it falls.
- Protocol fee revenue report UC0067
Total a protocol's fee revenue from its fee account history: a Node script sums per-transaction inflows and prints the current balance.
- Stablecoin supply dashboard UC0066
Read stablecoin supply on Solana from each mint with getTokenSupply, store snapshots in SQLite and print each issuer's share and change since the last run.
- Token transfer volume report UC0040
Find the transfers of one SPL token in its newest transactions and report volume, largest transaction and top receivers, sized to your plan's rate limits.
- Multi-dapp usage dashboard UC0039
Build a usage dashboard for many Solana dapps by program id: volume and failure share per dapp, the polling rate each plan carries, and a Node collector.
- Token prices and metrics UC0008
Solana token price and mint metrics for a chart: one batched read for supply and authorities, the prices method, a SQLite sampler in Node, and plan rates.