Auto-generated documentation.
Monitor blocks using a JSON-RPC endpoint.
polycli monitor [flags]
If you're using the terminal UI and you'd like to be able to select text for copying, you might need to use a modifier key.
If you're experiencing missing blocks, try adjusting the --batch-size
and --interval
flags so that you poll for more blocks or more frequently.
-b, --batch-size string Number of requests per batch (default "auto")
-c, --cache-limit int Number of cached blocks for the LRU block data structure (Min 100) (default 200)
-h, --help help for monitor
-i, --interval string Amount of time between batch block rpc calls (default "5s")
-r, --rpc-url string The RPC endpoint url (default "http://localhost:8545")
-s, --sub-batch-size int Number of requests per sub-batch (default 50)
The command also inherits flags from parent commands.
--config string config file (default is $HOME/.polygon-cli.yaml)
--pretty-logs Should logs be in pretty format or JSON (default true)
-v, --verbosity int 0 - Silent
100 Panic
200 Fatal
300 Error
400 Warning
500 Info
600 Debug
700 Trace (default 500)
- polycli - A Swiss Army knife of blockchain tools.