diff options
author | Gregory Sanders <gsanders87@gmail.com> | 2019-09-03 12:04:30 -0400 |
---|---|---|
committer | Gregory Sanders <gsanders87@gmail.com> | 2022-01-26 09:56:51 +0800 |
commit | 6498ba151b35ce9621ad00730f1fdfca55538ace (patch) | |
tree | c1849d74d672fce9bc2df7763deba368fd5d0f2a /src/rpc/blockchain.cpp | |
parent | e30b6ea194fee3bb95a45e7b732a99566b88f1f5 (diff) | |
download | bitcoin-6498ba151b35ce9621ad00730f1fdfca55538ace.tar.xz |
transaction decoding infer output descriptors
Diffstat (limited to 'src/rpc/blockchain.cpp')
-rw-r--r-- | src/rpc/blockchain.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index b07221c9bb..df8a8fffb4 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1331,6 +1331,7 @@ static RPCHelpMan gettxout() {RPCResult::Type::STR_AMOUNT, "value", "The transaction value in " + CURRENCY_UNIT}, {RPCResult::Type::OBJ, "scriptPubKey", "", { {RPCResult::Type::STR, "asm", ""}, + {RPCResult::Type::STR, "desc", "Inferred descriptor for the output"}, {RPCResult::Type::STR_HEX, "hex", ""}, {RPCResult::Type::STR, "type", "The type, eg pubkeyhash"}, {RPCResult::Type::STR, "address", /*optional=*/true, "The Bitcoin address (only if a well-defined address exists)"}, |