From b5cbad2895e234df63abe1fe99368e37582ba9d0 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Thu, 11 May 2017 14:21:50 +0800 Subject: [PATCH] rawblock and rawtransaction api added to readme --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7084ed7..f61c92e 100644 --- a/README.md +++ b/README.md @@ -380,7 +380,6 @@ Partial results shown: } ``` - #### api/mempool Return all txs in the mempool. @@ -473,6 +472,7 @@ Partial results shown: } ``` + #### api/outputs?txhash=&address=
&viewkey=&txprove=<0|1> For `txprove=0` we check which outputs belong to given address and corresponding viewkey. @@ -585,6 +585,25 @@ curl -w "\n" -X GET "http://139.162.32.245:8081/api/networkinfo" ``` +#### api/rawblock/ + +Return raw json block data, as represented in Monero. + +```bash +curl -w "\n" -X GET "http://139.162.32.245:8081/api/rawblock/1293257" +``` + +Example result not shown. + +#### api/rawtransaction/ + +Return raw json tx data, as represented in Monero. + +```bash +curl -w "\n" -X GET "http://139.162.32.245:8081/api/rawtransaction/6093260dbe79fd6277694d14789dc8718f1bd54457df8bab338c2efa3bb0f03d" +``` + +Example result not shown. ## Other monero examples