diff options
author | brunoerg <brunoely.gc@gmail.com> | 2022-06-17 17:56:42 -0300 |
---|---|---|
committer | brunoerg <brunoely.gc@gmail.com> | 2022-08-16 19:21:51 -0300 |
commit | 5c960200242d237f2cf74309b8fd29e8162682ed (patch) | |
tree | e0a2c75e7e507d6bf66d7413a6e946886c02b774 /doc | |
parent | 3e44bee08eb93e086179b92007649d47652aa439 (diff) | |
download | bitcoin-5c960200242d237f2cf74309b8fd29e8162682ed.tar.xz |
doc: add `/deploymentinfo` in REST-interface
Diffstat (limited to 'doc')
-rw-r--r-- | doc/REST-interface.md | 9 |
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>` |