From 21770a518ed5ed4b9d8b27ecf2ee672d516ff11b Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Sat, 20 May 2017 10:31:52 +0800 Subject: [PATCH] api/emission example added to readme --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 0966133..33cc9d8 100644 --- a/README.md +++ b/README.md @@ -623,6 +623,25 @@ curl -w "\n" -X GET "http://139.162.32.245:8081/api/networkinfo" } ``` +#### api/emission + +```bash +curl -w "\n" -X GET "http://139.162.32.245:8081/api/emission" +``` + +```json +{ + "data": { + "blk_no": 1313969, + "coinbase": 14489473877253413000, + "fee": 52601974988641130 + }, + "status": "success" +} +``` + +Emission only works when the emission monitoring thread is enabled. + #### api/rawblock/