cast parse-bytes32-string
NAME
cast-parse-bytes32-string - Parses a string from bytes32 encoding.
SYNOPSIS
cast parse-bytes32-string
[options] bytes
DESCRIPTION
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.
OPTIONS
Common Options
-h
--help
Prints help information.
EXAMPLES
- Parse bytes32 string encoding of “hello” back to the string representation:
cast parse-bytes32-string "0x68656c6c6f000000000000000000000000000000000000000000000000000000"