@@ -94,22 +94,22 @@ static UniValue getrawtransaction(const JSONRPCRequest& request)
94
94
95
95
" \n Result (if verbose is set to true):\n "
96
96
" {\n "
97
- " \" in_active_chain\" : b, (bool) Whether specified block is in the active chain or not (only present with explicit \" blockhash\" argument)\n "
98
- " \" hex\" : \" data\" , (string) The serialized, hex-encoded data for 'txid'\n "
99
- " \" txid\" : \" id\" , (string) The transaction id (same as provided)\n "
100
- " \" hash\" : \" id\" , (string) The transaction hash (differs from txid for witness transactions)\n "
97
+ " \" in_active_chain\" : (bool) Whether specified block is in the active chain or not (only present with explicit \" blockhash\" argument)\n "
98
+ " \" hex\" : \" data\" , (string) The serialized, hex-encoded data for 'txid'\n "
99
+ " \" txid\" : \" id\" , (string) The transaction id (same as provided)\n "
100
+ " \" hash\" : \" id\" , (string) The transaction hash (differs from txid for witness transactions)\n "
101
101
" \" size\" : n, (numeric) The serialized transaction size\n "
102
102
" \" vsize\" : n, (numeric) The virtual transaction size (differs from size for witness transactions)\n "
103
103
" \" weight\" : n, (numeric) The transaction's weight (between vsize*4-3 and vsize*4)\n "
104
104
" \" version\" : n, (numeric) The version\n "
105
105
" \" locktime\" : ttt, (numeric) The lock time\n "
106
106
" \" vin\" : [ (array of json objects)\n "
107
107
" {\n "
108
- " \" txid\" : \" id\" , (string) The transaction id\n "
108
+ " \" txid\" : \" id\" , (string) The transaction id\n "
109
109
" \" vout\" : n, (numeric) \n "
110
110
" \" scriptSig\" : { (json object) The script\n "
111
- " \" asm\" : \" asm\" , (string) asm\n "
112
- " \" hex\" : \" hex\" (string) hex\n "
111
+ " \" asm\" : \" asm\" , (string) asm\n "
112
+ " \" hex\" : \" hex\" (string) hex\n "
113
113
" },\n "
114
114
" \" sequence\" : n (numeric) The script sequence number\n "
115
115
" \" txinwitness\" : [\" hex\" , ...] (array of string) hex-encoded witness data (if any)\n "
@@ -118,22 +118,23 @@ static UniValue getrawtransaction(const JSONRPCRequest& request)
118
118
" ],\n "
119
119
" \" vout\" : [ (array of json objects)\n "
120
120
" {\n "
121
- " \" value\" : x.xxx, (numeric) The value in " + CURRENCY_UNIT + " \n "
122
- " \" n\" : n, (numeric) index\n "
123
- " \" scriptPubKey\" : { (json object)\n "
121
+ " \" value\" : x.xxx, (numeric) The value in " + CURRENCY_UNIT + " \n "
122
+ " \" valueSat\" : x.xxx, (numeric) The sat value in " + CURRENCY_UNIT + " \n "
123
+ " \" vout.n\" : n, (numeric) index\n "
124
+ " \" scriptPubKey\" : { (json object)\n "
124
125
" \" asm\" : \" asm\" , (string) the asm\n "
125
126
" \" hex\" : \" hex\" , (string) the hex\n "
126
- " \" reqSigs\" : n, (numeric) The required sigs\n "
127
+ " \" reqSigs\" : n, (numeric) The required sigs\n "
127
128
" \" type\" : \" pubkeyhash\" , (string) The type, eg 'pubkeyhash'\n "
128
- " \" addresses\" : [ (json array of string)\n "
129
- " \" address\" (string) veil address\n "
129
+ " \" addresses\" : [ (json array of string)\n "
130
+ " \" address\" (string) veil address\n "
130
131
" ,...\n "
131
132
" ]\n "
132
133
" }\n "
133
134
" }\n "
134
135
" ,...\n "
135
136
" ],\n "
136
- " \" blockhash\" : \" hash\" , (string) the block hash\n "
137
+ " \" blockhash\" : \" hash\" , (string) The block hash\n "
137
138
" \" confirmations\" : n, (numeric) The confirmations\n "
138
139
" \" time\" : ttt, (numeric) The transaction time in seconds since epoch (Jan 1 1970 GMT)\n "
139
140
" \" blocktime\" : ttt (numeric) The block time in seconds since epoch (Jan 1 1970 GMT)\n "
@@ -519,42 +520,43 @@ static UniValue decoderawtransaction(const JSONRPCRequest& request)
519
520
" \n Return a JSON object representing the serialized, hex-encoded transaction.\n "
520
521
521
522
" \n Arguments:\n "
522
- " 1. \" hexstring\" (string, required) The transaction hex string\n "
523
+ " 1. \" hexstring\" (string, required) The transaction hex string\n "
523
524
" 2. iswitness (boolean, optional) Whether the transaction hex is a serialized witness transaction\n "
524
525
" If iswitness is not present, heuristic tests will be used in decoding\n "
525
526
526
527
" \n Result:\n "
527
528
" {\n "
528
- " \" txid\" : \" id\" , (string) The transaction id\n "
529
- " \" hash\" : \" id\" , (string) The transaction hash (differs from txid for witness transactions)\n "
529
+ " \" txid\" : \" id\" , (string) The transaction id\n "
530
+ " \" hash\" : \" id\" , (string) The transaction hash (differs from txid for witness transactions)\n "
530
531
" \" size\" : n, (numeric) The transaction size\n "
531
532
" \" vsize\" : n, (numeric) The virtual transaction size (differs from size for witness transactions)\n "
532
533
" \" weight\" : n, (numeric) The transaction's weight (between vsize*4 - 3 and vsize*4)\n "
533
534
" \" version\" : n, (numeric) The version\n "
534
535
" \" locktime\" : ttt, (numeric) The lock time\n "
535
536
" \" vin\" : [ (array of json objects)\n "
536
537
" {\n "
537
- " \" txid\" : \" id\" , (string) The transaction id\n "
538
+ " \" txid\" : \" id\" , (string) The transaction id\n "
538
539
" \" vout\" : n, (numeric) The output number\n "
539
540
" \" scriptSig\" : { (json object) The script\n "
540
- " \" asm\" : \" asm\" , (string) asm\n "
541
- " \" hex\" : \" hex\" (string) hex\n "
541
+ " \" asm\" : \" asm\" , (string) asm\n "
542
+ " \" hex\" : \" hex\" (string) hex\n "
542
543
" },\n "
543
544
" \" txinwitness\" : [\" hex\" , ...] (array of string) hex-encoded witness data (if any)\n "
544
- " \" sequence\" : n (numeric) The script sequence number\n "
545
+ " \" sequence\" : n (numeric) The script sequence number\n "
545
546
" }\n "
546
547
" ,...\n "
547
548
" ],\n "
548
549
" \" vout\" : [ (array of json objects)\n "
549
550
" {\n "
550
- " \" value\" : x.xxx, (numeric) The value in " + CURRENCY_UNIT + " \n "
551
- " \" n\" : n, (numeric) index\n "
552
- " \" scriptPubKey\" : { (json object)\n "
551
+ " \" value\" : x.xxx, (numeric) The value in " + CURRENCY_UNIT + " \n "
552
+ " \" valueSat\" : x.xxx, (numeric) The sat value in " + CURRENCY_UNIT + " \n "
553
+ " \" vout.n\" : n, (numeric) index\n "
554
+ " \" scriptPubKey\" : { (json object)\n "
553
555
" \" asm\" : \" asm\" , (string) the asm\n "
554
556
" \" hex\" : \" hex\" , (string) the hex\n "
555
- " \" reqSigs\" : n, (numeric) The required sigs\n "
557
+ " \" reqSigs\" : n, (numeric) The required sigs\n "
556
558
" \" type\" : \" pubkeyhash\" , (string) The type, eg 'pubkeyhash'\n "
557
- " \" addresses\" : [ (json array of string)\n "
559
+ " \" addresses\" : [ (json array of string)\n "
558
560
" \" 12tvKAXCxZjSmdNbao16dKXC8tRWfcF5oc\" (string) veil address\n "
559
561
" ,...\n "
560
562
" ]\n "
0 commit comments