ssz

a simple tool converting a ssz-formated proof into json.

    # Convert a ssz-formated proof into json
    ssz -o block.json block_proof.ssz

Options

Option
Argument
Description
Default

-t

<typename>

Type name

-o

<outfile>

Output file

-h

Show hash_tree_root of the SSZ

-n

Show type name in JSON output

-s

Show serialization (hex string)

<file.ssz>

Input SSZ file

<field1> ...

Fields to include in JSON output

Last updated