Skip to main content

Try it Live

Run RLP examples in the interactive playground

BrandedRlp Type

BrandedRlp is the underlying branded type for RLP data structures used throughout Tevm’s RLP module.

Type Definition

Union type representing either:
  • BytesData: Leaf node containing raw bytes
  • ListData: Nested array of RLP data

Usage

Use through the Rlp class or imported functions:

See Also