@@ -40,11 +40,13 @@ Only supports JSON as output format.
40
40
* headers : (numeric) the current number of headers we have validated
41
41
* bestblockhash : (string) the hash of the currently best block
42
42
* difficulty : (numeric) the current difficulty
43
+ * mediantime : (numeric) the median time of the 11 blocks before the most recent block on the blockchain
43
44
* verificationprogress : (numeric) estimate of verification progress [ 0..1]
44
45
* chainwork : (string) total amount of work in active chain, in hexadecimal
45
46
* pruned : (boolean) if the blocks are subject to pruning
46
47
* pruneheight : (numeric) heighest block available
47
48
* softforks : (array) status of softforks in progress
49
+ * bip9_softforks : (object) status of BIP9 softforks in progress
48
50
49
51
####Query UTXO set
50
52
` GET /rest/getutxos/<checkmempool>/<txid>-<n>/<txid>-<n>/.../<txid>-<n>.<bin|hex|json> `
@@ -57,25 +59,25 @@ Example:
57
59
```
58
60
$ curl localhost:18332/rest/getutxos/checkmempool/b2cdfd7b89def827ff8af7cd9bff7627ff72e5e8b0f71210f92ea7a4000c5d75-0.json 2>/dev/null | json_pp
59
61
{
60
- "chaintipHash" : "00000000fb01a7f3745a717f8caebee056c484e6e0bfe4a9591c235bb70506fb",
61
62
"chainHeight" : 325347,
63
+ "chaintipHash" : "00000000fb01a7f3745a717f8caebee056c484e6e0bfe4a9591c235bb70506fb",
64
+ "bitmap": "1",
62
65
"utxos" : [
63
66
{
67
+ "txvers" : 1
68
+ "height" : 2147483647,
69
+ "value" : 8.8687,
64
70
"scriptPubKey" : {
65
- "addresses" : [
66
- "mi7as51dvLJsizWnTMurtRmrP8hG2m1XvD"
67
- ],
68
- "type" : "pubkeyhash",
71
+ "asm" : "OP_DUP OP_HASH160 1c7cebb529b86a04c683dfa87be49de35bcf589e OP_EQUALVERIFY OP_CHECKSIG",
69
72
"hex" : "76a9141c7cebb529b86a04c683dfa87be49de35bcf589e88ac",
70
73
"reqSigs" : 1,
71
- "asm " : "OP_DUP OP_HASH160 1c7cebb529b86a04c683dfa87be49de35bcf589e OP_EQUALVERIFY OP_CHECKSIG"
72
- },
73
- "value" : 8.8687,
74
- "height" : 2147483647,
75
- "txvers" : 1
74
+ "type " : "pubkeyhash",
75
+ "addresses" : [
76
+ "mi7as51dvLJsizWnTMurtRmrP8hG2m1XvD"
77
+ ]
78
+ }
76
79
}
77
- ],
78
- "bitmap" : "1"
80
+ ]
79
81
}
80
82
```
81
83
@@ -87,6 +89,8 @@ Only supports JSON as output format.
87
89
* size : (numeric) the number of transactions in the TX mempool
88
90
* bytes : (numeric) size of the TX mempool in bytes
89
91
* usage : (numeric) total TX mempool memory usage
92
+ * maxmempool : (numeric) maximum memory usage for the mempool in bytes
93
+ * mempoolminfee : (numeric) minimum feerate (BTC per KB) for tx to be accepted
90
94
91
95
` GET /rest/mempool/contents.json `
92
96
0 commit comments