Subscribe to finalized blocks or filtered chain events in real-time. Useful for monitoring, alerting, and integration pipelines.
Watch finalized blocks as they are produced (~12s intervals).
agcli subscribe blocksStream chain events with optional filtering.
agcli subscribe events [--filter staking] [--netuid 1] [--account SS58]| Filter | Events Included |
|---|---|
all |
Everything |
staking |
StakeAdded, StakeRemoved, StakeMoved |
registration |
NeuronRegistered, BulkNeuronsRegistered |
transfer |
Transfer, Deposit, Withdraw |
weights |
WeightsSet, WeightsCommitted, WeightsRevealed |
subnet |
NetworkAdded, NetworkRemoved, hyperparameter changes |
agcli handler: src/cli/network_cmds.rs — handle_subscribe() at L284, subcommands: Blocks L292, Events L293
On-chain: uses subxt subscription APIs (subscribe_finalized_blocks, subscribe_events) — no extrinsics.
agcli subnet monitor— Higher-level subnet monitoring with anomaly detectionagcli subnet watch— Tempo countdown and weight window status