Skip to content
.NET API for Nano RPC protocol
C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
DotNano.CodeGeneration.Tests
DotNano.CodeGeneration
DotNano.Executor
DotNano.RpcApi.Tests
DotNano.RpcApi
DotNano.RpcDocParser.Tests
DotNano.RpcDocParser
DotNano.Shared
.gitignore
DotNano.sln
README.md

README.md

DotNano

Complete .NET API for Nano RPC protocol.

Getting Started

Install

Install-Package DotNano.RpcApi

Usage

var client = new NanoRpcClient("localhost", 7076);
var response = client.AccountBalance(new PublicAddress("nano_1111111111111111111111111111111111111111111111111117353trpda"));
Console.WriteLine(response.Balance);

Supported RPC methods

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.

Naming convention

Method names are camel case of original RPC methods, e.g. account_history => AccountHistory.

Donate

nano_3rihs8dcjne3tjummjeotsz8r5aj319huj8xfm6rj16pfyjjri3duzxhionx
You can’t perform that action at this time.