aboutsummaryrefslogtreecommitdiff
path: root/doc/REST-interface.md
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-05-06 16:42:54 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-05-06 16:50:05 +0200
commit1fd2d39529b53fdf0a8451a1dd57ba8e51ddb77a (patch)
tree310ff7ca3b4b964b51aaa84492fd3db973690c60 /doc/REST-interface.md
parent12f348825394d5a25145b380267641688cd5d51f (diff)
parent6b4feb89a81a6f166f13ecf480d18ccea5ff462e (diff)
Merge pull request #5420
6b4feb8 [QA] rest.py RPC test: change setgenerate() to generate() (Jonas Schnelli) 97ee866 [REST] getutxos REST command (based on Bip64) (Jonas Schnelli)
Diffstat (limited to 'doc/REST-interface.md')
-rw-r--r--doc/REST-interface.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/REST-interface.md b/doc/REST-interface.md
index 68bf7187fa..11af040ad2 100644
--- a/doc/REST-interface.md
+++ b/doc/REST-interface.md
@@ -46,6 +46,13 @@ Only supports JSON as output format.
* verificationprogress : (numeric) estimate of verification progress [0..1]
* chainwork : (string) total amount of work in active chain, in hexadecimal
+`GET /rest/getutxos`
+
+The getutxo command allows querying of the UTXO set given a set of of outpoints.
+See BIP64 for input and output serialisation:
+https://github.com/bitcoin/bips/blob/master/bip-0064.mediawiki
+
+
Risks
-------------
Running a webbrowser on the same node with a REST enabled bitcoind can be a risk. Accessing prepared XSS websites could read out tx/block data of your node by placing links like `<script src="http://127.0.0.1:8332/rest/tx/1234567890.json">` which might break the nodes privacy.