lnrpc: add DestOutput to the protobuf
This commit is contained in:
4 files changed
+4333
-3966
No files matched your search
@@ -5430,6 +5430,52 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"lnrpcOutputDetail": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"output_type": {
|
||||
"$ref": "#/definitions/lnrpcOutputScriptType",
|
||||
"title": "The type of the output"
|
||||
},
|
||||
"address": {
|
||||
"type": "string",
|
||||
"title": "The address"
|
||||
},
|
||||
"pk_script": {
|
||||
"type": "string",
|
||||
"title": "The pkscript in hex"
|
||||
},
|
||||
"output_index": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"title": "The output index used in the raw transaction"
|
||||
},
|
||||
"amount": {
|
||||
"type": "string",
|
||||
"format": "int64",
|
||||
"title": "The value of the output coin in satoshis"
|
||||
},
|
||||
"is_our_address": {
|
||||
"type": "boolean",
|
||||
"title": "Denotes if the output is controlled by the internal wallet"
|
||||
}
|
||||
}
|
||||
},
|
||||
"lnrpcOutputScriptType": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"SCRIPT_TYPE_PUBKEY_HASH",
|
||||
"SCRIPT_TYPE_SCRIPT_HASH",
|
||||
"SCRIPT_TYPE_WITNESS_V0_PUBKEY_HASH",
|
||||
"SCRIPT_TYPE_WITNESS_V0_SCRIPT_HASH",
|
||||
"SCRIPT_TYPE_PUBKEY",
|
||||
"SCRIPT_TYPE_MULTISIG",
|
||||
"SCRIPT_TYPE_NULLDATA",
|
||||
"SCRIPT_TYPE_NON_STANDARD",
|
||||
"SCRIPT_TYPE_WITNESS_UNKNOWN"
|
||||
],
|
||||
"default": "SCRIPT_TYPE_PUBKEY_HASH"
|
||||
},
|
||||
"lnrpcPayReq": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -6411,7 +6457,14 @@
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Addresses that received funds for this transaction"
|
||||
"description": "Addresses that received funds for this transaction. Deprecated as it is\nnow incorporated in the output_details field."
|
||||
},
|
||||
"output_details": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/lnrpcOutputDetail"
|
||||
},
|
||||
"title": "Outputs that received funds for this transaction"
|
||||
},
|
||||
"raw_tx_hex": {
|
||||
"type": "string",
|
||||
|
||||
Reference in new issue
Block a user