Skip to main content
Glama

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
NameRequiredDescriptionDefault
script_hexYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EricGrill/mcp-bitcoin-cli'

If you have feedback or need assistance with the MCP directory API, please join our Discord server