aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrunoerg <brunoely.gc@gmail.com>2022-04-05 14:39:00 -0300
committerbrunoerg <brunoely.gc@gmail.com>2022-04-18 21:17:06 -0300
commitb941dec0a975d441fe08117e84d72aca4c5731bc (patch)
tree9397ee83584845fa0349aa5d641a29ba7717dc07
parent74b011bbfa3b607606cc7c0ce6e2d22cfd07605a (diff)
downloadbitcoin-b941dec0a975d441fe08117e84d72aca4c5731bc.tar.xz
docs: update `/rest/chaininfo` doc referring to RPC help
-rw-r--r--doc/REST-interface.md12
1 files changed, 1 insertions, 11 deletions
diff --git a/doc/REST-interface.md b/doc/REST-interface.md
index 1f0a07a284..2bab19bb07 100644
--- a/doc/REST-interface.md
+++ b/doc/REST-interface.md
@@ -76,17 +76,7 @@ Given a height: returns hash of block in best-block-chain at height provided.
Returns various state info regarding block chain processing.
Only supports JSON as output format.
-* chain : (string) current network name (main, test, signet, regtest)
-* blocks : (numeric) the current number of blocks processed in the server
-* headers : (numeric) the current number of headers we have validated
-* bestblockhash : (string) the hash of the currently best block
-* difficulty : (numeric) the current difficulty
-* mediantime : (numeric) the median time of the 11 blocks before the most recent block on the blockchain
-* verificationprogress : (numeric) estimate of verification progress [0..1]
-* chainwork : (string) total amount of work in active chain, in hexadecimal
-* pruned : (boolean) if the blocks are subject to pruning
-* pruneheight : (numeric) highest block available
-* softforks : (array) status of softforks in progress
+Refer to the `getblockchaininfo` RPC help for details.
#### Query UTXO set
`GET /rest/getutxos/<checkmempool>/<txid>-<n>/<txid>-<n>/.../<txid>-<n>.<bin|hex|json>`