mirror of
https://github.com/dashpay/dash.git
synced 2024-12-28 13:32:47 +01:00
56d1d13c43
* Merge #8824: Refactor TxToJSON() and ScriptPubKeyToJSON()
0ff9320
refactor TxToJSON() and ScriptPubKeyToJSON() (jonnynewbs)
Tree-SHA512: caf7d590829e221522edd5b1ab8ce67b53a2c6986d3bbe8477eab420b1007bf60f885ed0a25ba9587e468c00768360ddc31db37847e862858573eaed5ed8b0d6
* remove witness and vsize
Signed-off-by: Pasta <Pasta@dash.org>
* Add valueSat
To preserve rpc output format
* Move extrapayload and special tx json output to `TxToUniv`
* Add spent index info
12 lines
212 B
JSON
12 lines
212 B
JSON
{
|
|
"txid": "4ebd325a4b394cff8c57e8317ccf5a8d0e2bdf1b8526f8aad6c8e43d8240621a",
|
|
"version": 2,
|
|
"size": 10,
|
|
"locktime": 0,
|
|
"vin": [
|
|
],
|
|
"vout": [
|
|
],
|
|
"hex": "02000000000000000000"
|
|
}
|