Skip to content

Commit 5c96020

Browse files
committed
doc: add /deploymentinfo in REST-interface
1 parent 3e44bee commit 5c96020

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/REST-interface.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,15 @@ Returns various state info regarding block chain processing.
8484
Only supports JSON as output format.
8585
Refer to the `getblockchaininfo` RPC help for details.
8686

87+
#### Deployment info
88+
`GET /rest/deploymentinfo.json`
89+
`GET /rest/deploymentinfo/<BLOCKHASH>.json`
90+
91+
Returns an object containing various state info regarding deployments of
92+
consensus changes at the current chain tip, or at <BLOCKHASH> if provided.
93+
Only supports JSON as output format.
94+
Refer to the `getdeploymentinfo` RPC help for details.
95+
8796
#### Query UTXO set
8897
`GET /rest/getutxos/<checkmempool>/<txid>-<n>/<txid>-<n>/.../<txid>-<n>.<bin|hex|json>`
8998

0 commit comments

Comments
 (0)