cast-parse-bytes32-string - Parses a string from bytes32 encoding.
cast parse-bytes32-string
[options] bytes
Parses a Solidity string literal from its bytes32 encoding representation mostly by interpreting bytes as ASCII characters. This command undos the encoding in --format-bytes32-string.
{{#include common-options.md}}
- Parse bytes32 string encoding of "hello" back to the string representation:
cast parse-bytes32-string "0x68656c6c6f000000000000000000000000000000000000000000000000000000"