You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -20,7 +22,17 @@ The HTTP request and response are both handled entirely in-memory, thus making m
20
22
21
23
With the /notxdetails/ option JSON response will only contain the transaction hash instead of the complete transaction details. The option only affects the JSON response.
22
24
23
-
For full TX query capability, one must enable the transaction index via "txindex=1" command line / configuration option.
25
+
`GET /rest/chaininfo.json`
26
+
27
+
Returns various state info regarding block chain processing.
28
+
Only supports JSON as output format.
29
+
* chain : (string) current network name as defined in BIP70 (main, test, regtest)
30
+
* blocks : (numeric) the current number of blocks processed in the server
31
+
* headers : (numeric) the current number of headers we have validated
32
+
* bestblockhash : (string) the hash of the currently best block
33
+
* difficulty : (numeric) the current difficulty
34
+
* verificationprogress : (numeric) estimate of verification progress [0..1]
35
+
* chainwork : (string) total amount of work in active chain, in hexadecimal
0 commit comments