diff --git a/docs/json_rpc_api.mediawiki b/docs/json_rpc_api.mediawiki index 3dda00aba..84dd001da 100644 --- a/docs/json_rpc_api.mediawiki +++ b/docs/json_rpc_api.mediawiki @@ -268,6 +268,10 @@ the method name for further details such as parameter and return information. |N |Returns a JSON object containing mining-related information. |- +|[[#getmixmessage|getmixmessage]] +|Y +|Returns a mix message and its message type by its hash if it is accepted by and currently in the mixpool. +|- |[[#getmixpairrequests|getmixpairrequests]] |Y |Returns the current set of mixing pair request messages from the mixpool. WARNING: This is experimental and will very likely be removed in the next version. Do not use! @@ -1504,6 +1508,30 @@ of the best block. ---- +====getmixmessage==== +{| +!Method +|getmixmessage +|- +!Parameters +| +# hash: (string, required) The hash of the message being queried. +|- +!Description +| +: Returns a mix message and its message type by its hash if it is accepted by and currently in the mixpool. +|- +!Returns +|(json object) +: type: (string) The message command type +: message: (string) The message serialized as hex. +|- +!Example Return +|{"type":"mixpairreq","message":"a1d1d8c6ffc20a51ad9a5aa093c31bdeb06a0f627af95..."} +|} + +---- + ====getmixpairrequests==== {| !Method