.NET API for Nano RPC protocol
Complete .NET API for Nano RPC protocol.
Install-Package DotNano.RpcApi
var client = new NanoRpcClient("localhost", 7076);
var response = client.AccountBalance(new PublicAddress("nano_1111111111111111111111111111111111111111111111111117353trpda"));
Console.WriteLine(response.Balance);
All RPC methods are supported.
They are defined in official Nano Docs.
You can regenerate NanoRpcClient class by running DotNano.Executor applciation. The code is generated based on Nano Docs for easy update.
Method names are camel case of original RPC methods, e.g. account_history => AccountHistory.