decode_op_return
Parse OP_RETURN data from Bitcoin script hex to extract embedded information, returning both hexadecimal and UTF-8 decoded formats for blockchain data analysis.
Instructions
Parse OP_RETURN data from script hex.
Args:
script_hex: OP_RETURN script as hex string
Returns:
Dictionary with 'data_hex' and 'data_utf8' (if decodable).
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script_hex | Yes |