2 releases
new 0.0.4 | Mar 11, 2025 |
---|---|
0.0.3 | Mar 11, 2025 |
#137 in Visualization
31 downloads per month
68KB
1.5K
SLoC
alto-inspector
Inspect alto
activity.
Status
alto-inspector
is ALPHA software and is not yet recommended for production use. Developers should expect breaking changes and occasional instability.
Installation
Local
cargo install --path . --force
Crates.io
cargo install alto-inspector
Usage
Use -v
or --verbose
to enable verbose logging (like request latency). Use --prepare
to initialize the connection before making the request (for accurate latency measurement).
Get the latest seed
inspector get seed latest --indexer <indexer URL> --identity <identity>
Get the notarization for view 100
inspector get notarization 100 --indexer <indexer URL> --identity <identity>
Get the notarizations between views 100 to 110
inspector get notarization 100..110 --indexer <indexer URL> --identity <identity>
Get the finalization for view 50
inspector get finalization 50 --indexer <indexer URL> --identity <identity>
Get the latest finalized block
inspector get block latest --indexer <indexer URL> --identity <identity>
Get the block at height 10
inspector get block 10 --indexer <indexer URL> --identity <identity>
Get the blocks between heights 10 and 20
inspector get block 10..20 --indexer <indexer URL> --identity <identity>
Get the block with a specific digest
inspector -- get block 0x65016ff40e824e21fffe903953c07b6d604dbcf39f681c62e7b3ed57ab1d1994 --indexer <indexer URL> --identity <identity>
Listen for consensus events
inspector listen --indexer <indexer URL> --identity <identity>
Dependencies
~19–35MB
~648K SLoC