mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-14 18:30:52 +02:00
@@ -2246,7 +2246,9 @@ type Transaction struct {
|
||||
sizeCache protoimpl.SizeCache
|
||||
unknownFields protoimpl.UnknownFields
|
||||
|
||||
// The raw serialized transaction.
|
||||
// The raw serialized transaction. Despite the field name, this does need to be
|
||||
// specified in raw bytes (or base64 encoded when using REST) and not in hex.
|
||||
// To not break existing software, the field can't simply be renamed.
|
||||
TxHex []byte `protobuf:"bytes,1,opt,name=tx_hex,json=txHex,proto3" json:"tx_hex,omitempty"`
|
||||
// An optional label to save with the transaction. Limited to 500 characters.
|
||||
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
|
||||
|
@@ -712,7 +712,9 @@ message ImportTapscriptResponse {
|
||||
|
||||
message Transaction {
|
||||
/*
|
||||
The raw serialized transaction.
|
||||
The raw serialized transaction. Despite the field name, this does need to be
|
||||
specified in raw bytes (or base64 encoded when using REST) and not in hex.
|
||||
To not break existing software, the field can't simply be renamed.
|
||||
*/
|
||||
bytes tx_hex = 1;
|
||||
|
||||
|
@@ -1893,7 +1893,7 @@
|
||||
"tx_hex": {
|
||||
"type": "string",
|
||||
"format": "byte",
|
||||
"description": "The raw serialized transaction."
|
||||
"description": "The raw serialized transaction. Despite the field name, this does need to be\nspecified in raw bytes (or base64 encoded when using REST) and not in hex.\nTo not break existing software, the field can't simply be renamed."
|
||||
},
|
||||
"label": {
|
||||
"type": "string",
|
||||
|
Reference in New Issue
Block a user