decode_dd_opreturn
Decode DigiDollar OP_RETURN scriptPubKey hex to reveal transaction type (mint, transfer, redeem), amounts in cents, and structured fields. Works fully offline with no network access.
Instructions
Offline decode of a DigiDollar OP_RETURN scriptPubKey hex via parseDDOpReturn. Returns consensus type byte kind (mint/transfer/redeem), amounts in cents, and fields. No network. Read-only. Does not label entities.
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": {
"scriptPubKeyHex": "<scriptPubKeyHex>"
},
"name": "decode_dd_opreturn"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scriptPubKeyHex | Yes | OP_RETURN scriptPubKey as hex (typically starts with 6a…) |