aboutsummaryrefslogtreecommitdiff
path: root/doc/REST-interface.md
diff options
context:
space:
mode:
authorbrunoerg <brunoely.gc@gmail.com>2022-06-17 17:56:42 -0300
committerbrunoerg <brunoely.gc@gmail.com>2022-08-16 19:21:51 -0300
commit5c960200242d237f2cf74309b8fd29e8162682ed (patch)
treee0a2c75e7e507d6bf66d7413a6e946886c02b774 /doc/REST-interface.md
parent3e44bee08eb93e086179b92007649d47652aa439 (diff)
doc: add `/deploymentinfo` in REST-interface
Diffstat (limited to 'doc/REST-interface.md')
-rw-r--r--doc/REST-interface.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/REST-interface.md b/doc/REST-interface.md
index 4b46f29153..e86f93702b 100644
--- a/doc/REST-interface.md
+++ b/doc/REST-interface.md
@@ -84,6 +84,15 @@ Returns various state info regarding block chain processing.
Only supports JSON as output format.
Refer to the `getblockchaininfo` RPC help for details.
+#### Deployment info
+`GET /rest/deploymentinfo.json`
+`GET /rest/deploymentinfo/<BLOCKHASH>.json`
+
+Returns an object containing various state info regarding deployments of
+consensus changes at the current chain tip, or at <BLOCKHASH> if provided.
+Only supports JSON as output format.
+Refer to the `getdeploymentinfo` RPC help for details.
+
#### Query UTXO set
`GET /rest/getutxos/<checkmempool>/<txid>-<n>/<txid>-<n>/.../<txid>-<n>.<bin|hex|json>`