From 5c960200242d237f2cf74309b8fd29e8162682ed Mon Sep 17 00:00:00 2001 From: brunoerg Date: Fri, 17 Jun 2022 17:56:42 -0300 Subject: [PATCH] doc: add `/deploymentinfo` in REST-interface --- doc/REST-interface.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/REST-interface.md b/doc/REST-interface.md index 4b46f291531..e86f93702b4 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/.json` + +Returns an object containing various state info regarding deployments of +consensus changes at the current chain tip, or at if provided. +Only supports JSON as output format. +Refer to the `getdeploymentinfo` RPC help for details. + #### Query UTXO set `GET /rest/getutxos//-/-/.../-.`