capabilities.work

Sample Network Performance and Block Production

A 4-step recipe with Solana. We can help you get access.

Recipe · 4 steps

Sample Network Performance and Block Production

with Solana

Assemble a throughput, block-production, and node-inventory snapshot.

  1. Pull recent performance samples. Dividing a sample's transaction count by its period gives the network's transactions per second over that window.
  2. Read the cluster's running total of processed transactions, the cumulative counter behind lifetime throughput figures.
  3. Read how many slots each validator identity was assigned versus how many blocks it actually produced across the current range, which is how skipped slots get attributed to a specific validator.
  4. List the nodes participating in the cluster with their gossip, TPU, and RPC endpoints plus the software version each runs, so a production gap can be tied back to a reachable node.
What you'll need to have ready
  • sampleLimit: Number of recent performance samples to return. Each sample covers a fixed period of slots.
For your developer

Arazzo workflow solana:network-performance, 4 operations: getRecentPerformanceSamples → getTransactionCount → getBlockProduction → getClusterNodes. Specs on APIs.io.