From c6ba6fd7495fee54f70095dc2500e6cd2bff773d Mon Sep 17 00:00:00 2001 From: pinpong Date: Sun, 12 Nov 2017 16:47:15 +0100 Subject: [PATCH] updated javadoc --- jota/src/main/java/jota/IotaAPIService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jota/src/main/java/jota/IotaAPIService.java b/jota/src/main/java/jota/IotaAPIService.java index 344a4ef..237ebc9 100644 --- a/jota/src/main/java/jota/IotaAPIService.java +++ b/jota/src/main/java/jota/IotaAPIService.java @@ -82,8 +82,8 @@ public interface IotaAPIService { * Get the inclusion states of a set of transactions. This is for determining if a transaction was accepted and confirmed by the network or not. * You can search for multiple tips (and thus, milestones) to get past inclusion states of transactions. *

- * {@code curl http://localhost:14265 -X POST -H 'Content-Type: application/json'} - * {@code -d '{"command": "getInclusionStates", "transactions"Q9HZWYKFWYWZRE9JQKG9REPKIASHUUECPSQO9JT9XNMVKWYGVAZETAIRPTM"], "tips" : []}'} + * {@code curl http://localhost:14265 -X POST -H 'X-IOTA-API-Version: 1.4.1' -H 'Content-Type: application/json'} + * {@code -d '{"command": "getInclusionStates", "transactions"Q9HZWYKFWYWZRE9JQKG9REPKIASHUUECPSQO9JT9XNMVKWYGVAZETAIRPTM"], "tips" : [ZIJGAJ9AADLRPWNCYNNHUHRRAC9QOUDATEDQUMTNOTABUVRPTSTFQDGZKFYUUIE9ZEBIVCCXXXLKX9999]}'} */ @Headers({CONTENT_TYPE_HEADER, USER_AGENT_HEADER}) @POST("./")