blockscan

command
v2.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

README

Blockscan

This is an inspection tool to scan blocks and display the contents of the transactions that fill them.

Usage

The format for running blockscan is as follows:

Usage: blockscan <rpc-address> [from-height] [to-height]

Here is an example command for following the head of mainnet:

go run ./tools/blockscan https://rpc.lunaroasis.net:443

There are three options for scanning transactions:

  • Trail: This sets up a websocket and follows the head of the chain until the command is interrupted or killed
  • Range: This returns information of all transactions across an inclusive range: go run ./tools/blockscan https://rpc.lunaroasis.net:443 100 200
  • Single: This returns the information of a single block: go run ./tools/blockscan https://rpc.lunaroasis.net:443 100

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL