parse_envelope
Extract structured envelope data from raw Bitcoin transaction bytes to identify magic numbers, versions, types, and payload content for blockchain analysis.
Instructions
Parse BTCD envelope structure from raw bytes.
Args:
data_hex: Hex-encoded envelope data
Returns:
Dictionary with envelope fields: magic, version, type, payload_hex.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"data_hex": "<data_hex>"
},
"name": "parse_envelope"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_hex | Yes |