rlp_codec
Encode structured data (hex, integers, arrays) into RLP hex, or decode RLP hex back to the original structure.
Instructions
RLP-encode structured data, or RLP-decode a hex string.
Encode data is a recursive structure: a leaf (hex string, or a non-negative
integer stored minimal big-endian) or a JSON array of items (nested allowed);
a JSON-array string is parsed too. action=encode -> {encoded:'0x...'}.
Decode data is a 0x-hex string; action=decode -> {decoded} with leaves as
0x-hex and lists as arrays.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| data | Yes |