The transaction-get-signed-raw
command in Mintlayer is designed to retrieve the hex-encoded raw data of a signed transaction from the wallet. This command is crucial for users who require the complete, signed transaction data, including the signatures, in a raw format for various purposes like auditing, verification, or manual broadcasting.
transaction-get-signed-raw <TRANSACTION_ID>
<TRANSACTION_ID>
: The ID of the transaction you wish to retrieve as a signed, raw hex-encoded string.-h, --help
: Displays help information about the transaction-get-signed-raw
command.Retrieving a Signed Raw Transaction:
To obtain the signed, hex-encoded data of a specific transaction, use its transaction ID:
transaction-get-signed-raw c6aebb7caaa20a4962cacf511526c69d145dcdd7126e30dc903fec6d8e53bab4
The command will output the complete signed transaction data:
01000400004c8eeddd95881c206fea079b81f1dcb1646e353450faf1214427bc57c2805763010000000800000700e87648170121ad21ace4af262e5c57c6b7e7a08b5f4287a31100000fd2cb5f1651951f012c1c0c64d1a355e180aafa4cb982e6d66bb2ea4d0401018d010002dafe04d1473fa9c632c07eb5b313b750012a191140c76c319903bc1482e7810e00e19c3eb17a758e3ce4cec4c6e9f914cec2ce68b01c81f84d7d853272d8d77fbf8f54838e527a5a5142bba3a73a8854ed43da8b18aa200023f41fd7b985361c9c
This hex string represents the entire transaction, including its inputs, outputs, and signatures, in its raw form.