Compare chain state between two blocks. Useful for tracking changes in portfolio value, subnet metrics, or network-wide statistics over time.
Compare portfolio between two blocks.
agcli diff portfolio --from-block 3900000 --to-block 4000000 [--address SS58]Compare subnet state between two blocks.
agcli diff subnet --netuid 1 --from-block 3900000 --to-block 4000000Compare network-wide stats between two blocks.
agcli diff network --from-block 3900000 --to-block 4000000Requires --network archive for blocks beyond the ~256 block pruning window.
agcli handler: src/cli/block_cmds.rs — handle_diff() at L147, subcommands: Portfolio L155, Subnet L249, Network L352
On-chain: read-only queries at two block heights — compares System::Account, stake maps, subnet metrics, etc.
agcli block info --number N— See block detailsagcli subnet cache-diff— Compare cached metagraph snapshotsagcli explain --topic diff— How diff works