public SyncResposne Syncing() { string rawResponse = JsonCom.InvokeMethod(_Web, "eth_syncing"); SyncResposne response = JsonConvert.DeserializeObject <SyncResposne>(rawResponse); return(response); }
public JObject GetBalance(Account account) { String rawResponse = JsonCom.InvokeMethod(_Web, "eth_getBalance"); JObject response = JsonConvert.DeserializeObject <JObject>(rawResponse); return(response); }
public JObject SendTransaction(Transaction trans) { String rawResponse = JsonCom.InvokeMethod(_Web, "eth_sendTransaction"); JObject response = JsonConvert.DeserializeObject <JObject>(rawResponse); return(response); }
public void GenAccount(string password) { try { String rawResponse = JsonCom.InvokeMethod(_Web, "personal_Account", password); JObject response = JsonConvert.DeserializeObject <JObject>(rawResponse); _Accounts.Add(new Account(response.Path)); } }