unpack_transaction
Decode raw Bitcoin transactions to extract embedded Counterparty protocol data, revealing the original message and asset details.
Instructions
Decode and unpack a Counterparty message from a raw transaction, revealing the embedded Counterparty data
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": {
"raw_transaction": "<raw_transaction>"
},
"name": "unpack_transaction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| block_index | No | Block index for context (optional) | |
| raw_transaction | Yes | Hex data to unpack (raw transaction hex or Counterparty data hex) |