Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.65 KB

polycli_monitor.md

File metadata and controls

56 lines (40 loc) · 1.65 KB

polycli monitor

Auto-generated documentation.

Table of Contents

Description

Monitor blocks using a JSON-RPC endpoint.

polycli monitor [flags]

Usage

GIF of polycli monitor

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.

Flags

  -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)

See also

  • polycli - A Swiss Army knife of blockchain tools.