Updated on 2026-08-14

This commit is contained in:
Tangem 2018-11-08 12:21:22 +03:00
parent a5fc35bc25
commit b3a6a8dc9b
2 changed files with 10 additions and 8 deletions

View file

@ -155,6 +155,10 @@ public class ElectrumRequest {
return getAnswer().getJSONObject("result");
}
public JSONObject getError() throws JSONException {
return getAnswer().getJSONObject("error");
}
public String getResultString() throws JSONException {
return getAnswer().getString("result");
}