Ogmios has actual block under a property named like the era (e.g. block.alonzo).
This type creates a union with all the properties. It is later used in
exhaustive switches
to make sure all block types are handled and future blocks types will generate compile time errors.
Ogmios has actual block under a property named like the era (e.g.
block.alonzo
). This type creates a union with all the properties. It is later used in exhaustive switches to make sure all block types are handled and future blocks types will generate compile time errors.