LykkeBiz.Nethereum.Extension 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package LykkeBiz.Nethereum.Extension --version 1.0.2
NuGet\Install-Package LykkeBiz.Nethereum.Extension -Version 1.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LykkeBiz.Nethereum.Extension" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LykkeBiz.Nethereum.Extension --version 1.0.2
#r "nuget: LykkeBiz.Nethereum.Extension, 1.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install LykkeBiz.Nethereum.Extension as a Cake Addin
#addin nuget:?package=LykkeBiz.Nethereum.Extension&version=1.0.2

// Install LykkeBiz.Nethereum.Extension as a Cake Tool
#tool nuget:?package=LykkeBiz.Nethereum.Extension&version=1.0.2

Lykke.Nethereum.Extension

The extension to Nethereum library

Batch execute via https

  1. Create RPC client: ILykkeJsonRpcClientvar client = new LykkeJsonRpcClient(NodeUrl);

  2. Make a call: var result = await client.ExecuteRpcBatchAsync( new RpcRequestMessage(1, "eth_getBalance", "0xd092cd556828f7a2f4db7eeb9fe3b261cd664350", "latest"), new RpcRequestMessage("hello world", "eth_blockNumber"));

  3. Handle results Assert.AreEqual(2, result.Count); Assert.AreEqual(1, result[0].IdAsInteger()); Assert.AreEqual("hello world", result[1].IdAsString());

Get block number

  1. Create RPC client: ILykkeJsonRpcClientvar client = new LykkeJsonRpcClient(NodeUrl);

  2. Make a call: Int64 blockNumber = await client.GetBlockNumberAsync();

  3. Handle results Console.WriteLine($"Last block number: {blockNumber}");

Get Ether balance

  1. Create RPC client: ILykkeJsonRpcClientvar client = new LykkeJsonRpcClient(NodeUrl);

  2. Make a call: Int balanceWei = wait client.GetEtherBalanceAsync("0xd092cd556828f7a2f4db7eeb9fe3b261cd664350");

  3. Handle results Console.WriteLine($"balance in wei: {balanceWei}");

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 is compatible.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.11 917 11/13/2019
1.0.10 753 11/13/2019
1.0.9 762 11/13/2019
1.0.8 746 11/13/2019
1.0.7 701 11/13/2019
1.0.6 769 11/13/2019
1.0.5 761 11/12/2019
1.0.4 761 11/12/2019
1.0.3 754 11/12/2019
1.0.2 770 11/12/2019
1.0.1 736 11/12/2019
1.0.0 721 11/12/2019