Package ch.bitagent.bitcoin.lib.wallet
Class Electrum
- java.lang.Object
-
- ch.bitagent.bitcoin.lib.wallet.Electrum
-
public class Electrum extends Object
https://electrumx-spesmilo.readthedocs.io/en/latest/protocol-methods.html
-
-
Constructor Summary
Constructors Constructor Description Electrum()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidallSockets()StringcallSocket(String socket, String jsonRequest)StringdefaultSocket()List<org.json.JSONObject>features()org.json.JSONObjectgetBalance(String scripthash)LonggetBalanceTotal(String scripthash)org.json.JSONArraygetHistory(String scripthash)List<String>getSockets()org.json.JSONArraypeers()List<org.json.JSONObject>ping()List<org.json.JSONArray>versions()
-
-
-
Method Detail
-
defaultSocket
public String defaultSocket()
-
allSockets
public void allSockets()
-
ping
public List<org.json.JSONObject> ping()
-
features
public List<org.json.JSONObject> features()
-
versions
public List<org.json.JSONArray> versions()
-
peers
public org.json.JSONArray peers()
-
getHistory
public org.json.JSONArray getHistory(String scripthash)
-
getBalance
public org.json.JSONObject getBalance(String scripthash)
-
-