Updated on 2026-08-14
This commit is contained in:
parent
a5fc35bc25
commit
b3a6a8dc9b
2 changed files with 10 additions and 8 deletions
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue