BatchRPC r = new BatchRPC(new Uri("http://127.0.0.1:8332"), new NetworkCredential("user", "password"));
uint _tx = r.ListTransactions();
uint _bal = r.GetBalance();
uint _blk = r.GetBlockCount();
r.DoRequest();
Fails with exception {"Error setting value to 'result' on 'BitcoinNET.RPCClient.RPCResponse`1[Newtonsoft.Json.Linq.JObject]'."}.
This is because the first command returns an array which isn't convertible to a JObject.
Fails with exception {"Error setting value to 'result' on 'BitcoinNET.RPCClient.RPCResponse`1[Newtonsoft.Json.Linq.JObject]'."}.
This is because the first command returns an array which isn't convertible to a JObject.