diff options
author | Douglas Chimento <dchimento@gmail.com> | 2021-11-21 11:17:59 +0200 |
---|---|---|
committer | Douglas Chimento <dchimento@gmail.com> | 2022-10-30 14:06:15 +0200 |
commit | f86697163e5cdbc3bc4a65cfb7dbaa3d9eb602a9 (patch) | |
tree | 681215c376e2da766b7c8fe015e6d9b912cd4c15 /src/rpc/client.cpp | |
parent | bfce05cc341113a1e7c685950b175dee3aaf2354 (diff) |
rpc: Return fee and prevout(s) to getrawtransaction
* Add optional fee response in BTC to getrawtransaction
* Add optional prevout(s) response to getrawtransaction showing utxos being spent
* Add getrawtransaction_verbosity functional test to validate fields
Diffstat (limited to 'src/rpc/client.cpp')
-rw-r--r-- | src/rpc/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rpc/client.cpp b/src/rpc/client.cpp index 8688263ef5..0398db964a 100644 --- a/src/rpc/client.cpp +++ b/src/rpc/client.cpp @@ -102,6 +102,7 @@ static const CRPCConvertParam vRPCConvertParams[] = { "getchaintxstats", 0, "nblocks" }, { "gettransaction", 1, "include_watchonly" }, { "gettransaction", 2, "verbose" }, + { "getrawtransaction", 1, "verbosity" }, { "getrawtransaction", 1, "verbose" }, { "createrawtransaction", 0, "inputs" }, { "createrawtransaction", 1, "outputs" }, |