diff --git a/.editorconfig b/.editorconfig
index 534d9a04..7dd8dac9 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -15,6 +15,3 @@ indent_size = 2
# C# files
[*.cs]
-
-# CA1014: Mark assemblies with CLSCompliant
-dotnet_diagnostic.CA1014.severity = none # Not interested in feature
diff --git a/.github/workflows/myget-unstable-deploy.yml b/.github/workflows/myget-unstable-deploy.yml
index d59a2950..272760ab 100644
--- a/.github/workflows/myget-unstable-deploy.yml
+++ b/.github/workflows/myget-unstable-deploy.yml
@@ -11,7 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@master
+ - name: Checkout
+ uses: actions/checkout@master
with:
fetch-depth: 0
diff --git a/.github/workflows/nuget-stable-deploy.yml b/.github/workflows/nuget-stable-deploy.yml
index 6e02337c..a040dd13 100644
--- a/.github/workflows/nuget-stable-deploy.yml
+++ b/.github/workflows/nuget-stable-deploy.yml
@@ -10,7 +10,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@master
+ - name: Checkout
+ uses: actions/checkout@master
with:
fetch-depth: 0
diff --git a/README.md b/README.md
index 0ed9941d..dca4a0cf 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ Bee.Net is a .Net client for the [Bee Swarm](https://github.com/ethersphere/bee)
With this client you can consume public and debug api of any Bee node exposing them.
-Current release is compatible with Bee nodes from version `1.4.1` to `1.4.3`. Other versions could have issues.
+Current release is compatible with Bee nodes from version `1.4.1` to `1.5.0`. Other versions could have issues.
Package repositories
--------------------
diff --git a/src/BeeNet/BeeNet.csproj b/src/BeeNet/BeeNet.csproj
index 4727fdf7..7b842151 100644
--- a/src/BeeNet/BeeNet.csproj
+++ b/src/BeeNet/BeeNet.csproj
@@ -4,8 +4,10 @@
netstandard2.0
true
Etherna.BeeNet
+
Etherna Sagl
A .Net client for Swarm Bee
+
9.0
enable
true
@@ -32,7 +34,7 @@
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
diff --git a/src/BeeNet/BeeNodeClient.cs b/src/BeeNet/BeeNodeClient.cs
index 1d5f56d0..02f7b034 100644
--- a/src/BeeNet/BeeNodeClient.cs
+++ b/src/BeeNet/BeeNodeClient.cs
@@ -35,12 +35,10 @@ public BeeNodeClient(
string baseUrl = "http://localhost/",
int? gatewayApiPort = 1633,
int? debugApiPort = 1635,
- GatewayApiVersion gatewayApiVersion = GatewayApiVersion.v2_0_0,
- DebugApiVersion debugApiVersion = DebugApiVersion.v1_2_0)
+ GatewayApiVersion gatewayApiVersion = GatewayApiVersion.v3_0_0,
+ DebugApiVersion debugApiVersion = DebugApiVersion.v2_0_0)
{
httpClient = new HttpClient();
- DebugApiVersion = debugApiVersion;
- GatewayApiVersion = gatewayApiVersion;
if (debugApiPort is not null)
{
@@ -76,10 +74,8 @@ protected virtual void Dispose(bool disposing)
// Properties.
public Uri? DebugApiUrl { get; }
- public DebugApiVersion DebugApiVersion { get; }
public IBeeDebugClient? DebugClient { get; }
public Uri? GatewayApiUrl { get; }
- public GatewayApiVersion GatewayApiVersion { get; }
public IBeeGatewayClient? GatewayClient { get; }
// Helpers.
diff --git a/src/BeeNet/Clients/DebugApi/BeeDebugClient.cs b/src/BeeNet/Clients/DebugApi/BeeDebugClient.cs
index 58591af1..763dcc10 100644
--- a/src/BeeNet/Clients/DebugApi/BeeDebugClient.cs
+++ b/src/BeeNet/Clients/DebugApi/BeeDebugClient.cs
@@ -14,9 +14,11 @@
using Etherna.BeeNet.Clients.DebugApi.V1_2_0;
using Etherna.BeeNet.Clients.DebugApi.V1_2_1;
+using Etherna.BeeNet.Clients.DebugApi.V2_0_0;
using Etherna.BeeNet.DtoModels;
using System;
using System.Collections.Generic;
+using System.Globalization;
using System.Linq;
using System.Net.Http;
using System.Text.Json;
@@ -29,6 +31,7 @@ public class BeeDebugClient : IBeeDebugClient
// Fields.
private readonly IBeeDebugClient_1_2_0 beeDebugClient_1_2_0;
private readonly IBeeDebugClient_1_2_1 beeDebugClient_1_2_1;
+ private readonly IBeeDebugClient_2_0_0 beeDebugClient_2_0_0;
// Constructors.
public BeeDebugClient(HttpClient httpClient, Uri baseUrl, DebugApiVersion apiVersion)
@@ -38,6 +41,7 @@ public BeeDebugClient(HttpClient httpClient, Uri baseUrl, DebugApiVersion apiVer
beeDebugClient_1_2_0 = new BeeDebugClient_1_2_0(httpClient) { BaseUrl = baseUrl.ToString() };
beeDebugClient_1_2_1 = new BeeDebugClient_1_2_1(httpClient) { BaseUrl = baseUrl.ToString() };
+ beeDebugClient_2_0_0 = new BeeDebugClient_2_0_0(httpClient) { BaseUrl = baseUrl.ToString() };
CurrentApiVersion = apiVersion;
}
@@ -46,26 +50,28 @@ public BeeDebugClient(HttpClient httpClient, Uri baseUrl, DebugApiVersion apiVer
// Methods.
public async Task BuyPostageBatchAsync(
- int amount,
+ long amount,
int depth,
string? label = null,
bool? immutable = null,
- int? gasPrice = null) =>
+ long? gasPrice = null) =>
CurrentApiVersion switch
{
DebugApiVersion.v1_2_0 => ((JsonElement)(await beeDebugClient_1_2_0.StampsPostAsync(amount, depth, label, immutable, gasPrice).ConfigureAwait(false)).BatchID).ToString(),
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.StampsPostAsync(amount, depth, label, immutable, gasPrice).ConfigureAwait(false)).BatchID,
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.StampsPostAsync(amount.ToString(CultureInfo.InvariantCulture), depth, label, immutable, gasPrice).ConfigureAwait(false)).BatchID,
_ => throw new InvalidOperationException()
};
public async Task CashoutChequeForPeerAsync(
string peerId,
- int? gasPrice = null,
+ long? gasPrice = null,
long? gasLimit = null) =>
CurrentApiVersion switch
{
DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.ChequebookCashoutPostAsync(peerId, gasPrice, gasLimit).ConfigureAwait(false)).TransactionHash,
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.ChequebookCashoutPostAsync(peerId, gasPrice, gasLimit).ConfigureAwait(false)).TransactionHash,
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.ChequebookCashoutPostAsync(peerId, gasPrice, gasLimit).ConfigureAwait(false)).TransactionHash,
_ => throw new InvalidOperationException()
};
@@ -74,6 +80,7 @@ public async Task ConnectToPeerAsync(string address) =>
{
DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.ConnectAsync(address).ConfigureAwait(false)).Address,
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.ConnectAsync(address).ConfigureAwait(false)).Address,
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.ConnectAsync(address).ConfigureAwait(false)).Address,
_ => throw new InvalidOperationException()
};
@@ -82,6 +89,7 @@ public async Task DeleteChunkAsync(string address) =>
{
DebugApiVersion.v1_2_0 => new MessageResponseDto(await beeDebugClient_1_2_0.ChunksDeleteAsync(address).ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new MessageResponseDto(await beeDebugClient_1_2_1.ChunksDeleteAsync(address).ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new MessageResponseDto(await beeDebugClient_2_0_0.ChunksDeleteAsync(address).ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -90,26 +98,29 @@ public async Task DeletePeerAsync(string address) =>
{
DebugApiVersion.v1_2_0 => new MessageResponseDto(await beeDebugClient_1_2_0.PeersDeleteAsync(address).ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new MessageResponseDto(await beeDebugClient_1_2_1.PeersDeleteAsync(address).ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new MessageResponseDto(await beeDebugClient_2_0_0.PeersDeleteAsync(address).ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
public async Task DeleteTransactionAsync(
string txHash,
- int? gasPrice = null) =>
+ long? gasPrice = null) =>
CurrentApiVersion switch
{
- DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.TransactionsDeleteAsync(txHash).ConfigureAwait(false)).TransactionHash,
- DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.TransactionsDeleteAsync(txHash).ConfigureAwait(false)).TransactionHash,
+ DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.TransactionsDeleteAsync(txHash, gasPrice).ConfigureAwait(false)).TransactionHash,
+ DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.TransactionsDeleteAsync(txHash, gasPrice).ConfigureAwait(false)).TransactionHash,
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.TransactionsDeleteAsync(txHash, gasPrice).ConfigureAwait(false)).TransactionHash,
_ => throw new InvalidOperationException()
};
public async Task DepositIntoChequeBookAsync(
- int amount,
- int? gasPrice = null) =>
+ long amount,
+ long? gasPrice = null) =>
CurrentApiVersion switch
{
DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.ChequebookDepositAsync(amount, gasPrice).ConfigureAwait(false)).TransactionHash,
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.ChequebookDepositAsync(amount, gasPrice).ConfigureAwait(false)).TransactionHash,
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.ChequebookDepositAsync(amount, gasPrice).ConfigureAwait(false)).TransactionHash,
_ => throw new InvalidOperationException()
};
@@ -120,6 +131,7 @@ public async Task DilutePostageBatchAsync(
{
DebugApiVersion.v1_2_0 => ((JsonElement)(await beeDebugClient_1_2_0.StampsDiluteAsync(id, depth).ConfigureAwait(false)).BatchID).ToString(),
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.StampsDiluteAsync(id, depth).ConfigureAwait(false)).BatchID,
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.StampsDiluteAsync(id, depth).ConfigureAwait(false)).BatchID,
_ => throw new InvalidOperationException()
};
@@ -128,6 +140,7 @@ public async Task GetAddressesAsync() =>
{
DebugApiVersion.v1_2_0 => new AddressDetailDto(await beeDebugClient_1_2_0.AddressesAsync().ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new AddressDetailDto(await beeDebugClient_1_2_1.AddressesAsync().ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new AddressDetailDto(await beeDebugClient_2_0_0.AddressesAsync().ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -136,22 +149,16 @@ public async Task> GetAllBalancesAsync() =>
{
DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.BalancesGetAsync().ConfigureAwait(false)).Balances.Select(i => new BalanceDto(i)),
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.BalancesGetAsync().ConfigureAwait(false)).Balances.Select(i => new BalanceDto(i)),
- _ => throw new InvalidOperationException()
- };
-
- public async Task> GetAllBatchesFromAllNodesAsync() =>
- CurrentApiVersion switch
- {
- DebugApiVersion.v1_2_0 => throw new InvalidOperationException($"Debug API {CurrentApiVersion} doesn't implement this function"),
- DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.BatchesAsync().ConfigureAwait(false)).Stamps.Select(i => new ValidPostageBatchDto(i)),
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.BalancesGetAsync().ConfigureAwait(false)).Balances.Select(i => new BalanceDto(i)),
_ => throw new InvalidOperationException()
};
public async Task> GetAllChequeBookChequesAsync() =>
CurrentApiVersion switch
{
- DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.ChequebookChequeGetAsync().ConfigureAwait(false)).Lastcheques.Select(i => new ChequeBookChequeGetDto(i)),
- DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.ChequebookChequeGetAsync().ConfigureAwait(false)).Lastcheques.Select(i => new ChequeBookChequeGetDto(i)),
+ DebugApiVersion.v1_2_0 => ((await beeDebugClient_1_2_0.ChequebookChequeGetAsync().ConfigureAwait(false)).Lastcheques ?? Array.Empty()).Select(i => new ChequeBookChequeGetDto(i)),
+ DebugApiVersion.v1_2_1 => ((await beeDebugClient_1_2_1.ChequebookChequeGetAsync().ConfigureAwait(false)).Lastcheques ?? Array.Empty()).Select(i => new ChequeBookChequeGetDto(i)),
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.ChequebookChequeGetAsync().ConfigureAwait(false)).Lastcheques.Select(i => new ChequeBookChequeGetDto(i)),
_ => throw new InvalidOperationException()
};
@@ -160,14 +167,16 @@ public async Task> GetAllConsumedBalancesAsync() =>
{
DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.ConsumedGetAsync().ConfigureAwait(false)).Balances.Select(i => new BalanceDto(i)),
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.ConsumedGetAsync().ConfigureAwait(false)).Balances.Select(i => new BalanceDto(i)),
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.ConsumedGetAsync().ConfigureAwait(false)).Balances.Select(i => new BalanceDto(i)),
_ => throw new InvalidOperationException()
};
public async Task> GetAllPeerAddressesAsync() =>
CurrentApiVersion switch
{
- DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.PeersGetAsync().ConfigureAwait(false)).Peers.Select(i => i.Address),
- DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.PeersGetAsync().ConfigureAwait(false)).Peers.Select(i => i.Address),
+ DebugApiVersion.v1_2_0 => ((await beeDebugClient_1_2_0.PeersGetAsync().ConfigureAwait(false)).Peers ?? Array.Empty()).Select(i => i.Address),
+ DebugApiVersion.v1_2_1 => ((await beeDebugClient_1_2_1.PeersGetAsync().ConfigureAwait(false)).Peers ?? Array.Empty()).Select(i => i.Address),
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.PeersGetAsync().ConfigureAwait(false)).Peers.Select(i => i.Address),
_ => throw new InvalidOperationException()
};
@@ -176,22 +185,25 @@ public async Task GetAllSettlementsAsync() =>
{
DebugApiVersion.v1_2_0 => new SettlementDto(await beeDebugClient_1_2_0.SettlementsGetAsync().ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new SettlementDto(await beeDebugClient_1_2_1.SettlementsGetAsync().ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new SettlementDto(await beeDebugClient_2_0_0.SettlementsGetAsync().ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
- public async Task> GetAllStampsAsync() =>
+ public async Task GetAllTimeSettlementsAsync() =>
CurrentApiVersion switch
{
- DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.StampsGetAsync().ConfigureAwait(false)).Stamps.Select(i => new StampsGetDto(i)),
- DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.StampsGetAsync().ConfigureAwait(false)).Stamps.Select(i => new StampsGetDto(i)),
+ DebugApiVersion.v1_2_0 => new TimeSettlementsDto(await beeDebugClient_1_2_0.TimesettlementsAsync().ConfigureAwait(false)),
+ DebugApiVersion.v1_2_1 => new TimeSettlementsDto(await beeDebugClient_1_2_1.TimesettlementsAsync().ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new TimeSettlementsDto(await beeDebugClient_2_0_0.TimesettlementsAsync().ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
- public async Task GetAllTimeSettlementsAsync() =>
+ public async Task> GetAllValidPostageBatchesFromAllNodesAsync() =>
CurrentApiVersion switch
{
- DebugApiVersion.v1_2_0 => new TimeSettlementsDto(await beeDebugClient_1_2_0.TimesettlementsAsync().ConfigureAwait(false)),
- DebugApiVersion.v1_2_1 => new TimeSettlementsDto(await beeDebugClient_1_2_1.TimesettlementsAsync().ConfigureAwait(false)),
+ DebugApiVersion.v1_2_0 => throw new InvalidOperationException($"Debug API {CurrentApiVersion} doesn't implement this function"),
+ DebugApiVersion.v1_2_1 => ((await beeDebugClient_1_2_1.BatchesAsync().ConfigureAwait(false)).Stamps ?? Array.Empty()).Select(i => new BatchDto(i)),
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.BatchesAsync().ConfigureAwait(false)).Batches.Select(i => new BatchDto(i)),
_ => throw new InvalidOperationException()
};
@@ -200,14 +212,16 @@ public async Task> GetBalanceWithPeerAsync(string addres
{
DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.BalancesGetAsync().ConfigureAwait(false)).Balances.Select(i => new BalanceDto(i)),
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.BalancesGetAsync().ConfigureAwait(false)).Balances.Select(i => new BalanceDto(i)),
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.BalancesGetAsync().ConfigureAwait(false)).Balances.Select(i => new BalanceDto(i)),
_ => throw new InvalidOperationException()
};
public async Task> GetBlocklistedPeerAddressesAsync() =>
CurrentApiVersion switch
{
- DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.BlocklistAsync().ConfigureAwait(false)).Peers.Select(i => i.Address),
- DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.BlocklistAsync().ConfigureAwait(false)).Peers.Select(i => i.Address),
+ DebugApiVersion.v1_2_0 => ((await beeDebugClient_1_2_0.BlocklistAsync().ConfigureAwait(false)).Peers ?? Array.Empty()).Select(i => i.Address),
+ DebugApiVersion.v1_2_1 => ((await beeDebugClient_1_2_1.BlocklistAsync().ConfigureAwait(false)).Peers ?? Array.Empty()).Select(i => i.Address),
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.BlocklistAsync().ConfigureAwait(false)).Peers.Select(i => i.Address),
_ => throw new InvalidOperationException()
};
@@ -216,6 +230,7 @@ public async Task GetChainStateAsync() =>
{
DebugApiVersion.v1_2_0 => new ChainStateDto(await beeDebugClient_1_2_0.ChainstateAsync().ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new ChainStateDto(await beeDebugClient_1_2_1.ChainstateAsync().ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new ChainStateDto(await beeDebugClient_2_0_0.ChainstateAsync().ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -224,6 +239,7 @@ public async Task GetChequeBookAddressAsync() =>
{
DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.ChequebookAddressAsync().ConfigureAwait(false)).ChequebookAddress,
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.ChequebookAddressAsync().ConfigureAwait(false)).ChequebookAddress,
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.ChequebookAddressAsync().ConfigureAwait(false)).ChequebookAddress,
_ => throw new InvalidOperationException()
};
@@ -232,6 +248,7 @@ public async Task GetChequeBookBalanceAsync() =>
{
DebugApiVersion.v1_2_0 => new ChequeBookBalanceDto(await beeDebugClient_1_2_0.ChequebookBalanceAsync().ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new ChequeBookBalanceDto(await beeDebugClient_1_2_1.ChequebookBalanceAsync().ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new ChequeBookBalanceDto(await beeDebugClient_2_0_0.ChequebookBalanceAsync().ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -240,6 +257,7 @@ public async Task GetChequeBookCashoutForPeerAsync(stri
{
DebugApiVersion.v1_2_0 => new ChequeBookCashoutGetDto(await beeDebugClient_1_2_0.ChequebookCashoutGetAsync(peerId).ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new ChequeBookCashoutGetDto(await beeDebugClient_1_2_1.ChequebookCashoutGetAsync(peerId).ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new ChequeBookCashoutGetDto(await beeDebugClient_2_0_0.ChequebookCashoutGetAsync(peerId).ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -248,6 +266,7 @@ public async Task GetChequeBookChequeForPeerAsync(string
{
DebugApiVersion.v1_2_0 => new ChequeBookChequeGetDto(await beeDebugClient_1_2_0.ChequebookChequeGetAsync(peerId).ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new ChequeBookChequeGetDto(await beeDebugClient_1_2_1.ChequebookChequeGetAsync(peerId).ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new ChequeBookChequeGetDto(await beeDebugClient_2_0_0.ChequebookChequeGetAsync(peerId).ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -256,6 +275,7 @@ public async Task GetChunkAsync(string address) =>
{
DebugApiVersion.v1_2_0 => new MessageResponseDto(await beeDebugClient_1_2_0.ChunksGetAsync(address).ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new MessageResponseDto(await beeDebugClient_1_2_1.ChunksGetAsync(address).ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new MessageResponseDto(await beeDebugClient_2_0_0.ChunksGetAsync(address).ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -264,6 +284,7 @@ public async Task> GetConsumedBalanceWithPeerAsync(strin
{
DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.ConsumedGetAsync().ConfigureAwait(false)).Balances.Select(i => new BalanceDto(i)),
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.ConsumedGetAsync().ConfigureAwait(false)).Balances.Select(i => new BalanceDto(i)),
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.ConsumedGetAsync().ConfigureAwait(false)).Balances.Select(i => new BalanceDto(i)),
_ => throw new InvalidOperationException()
};
@@ -272,6 +293,7 @@ public async Task GetHealthAsync() =>
{
DebugApiVersion.v1_2_0 => new VersionDto(await beeDebugClient_1_2_0.HealthAsync().ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new VersionDto(await beeDebugClient_1_2_1.HealthAsync().ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new VersionDto(await beeDebugClient_2_0_0.HealthAsync().ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -280,22 +302,34 @@ public async Task GetNodeInfoAsync() =>
{
DebugApiVersion.v1_2_0 => throw new InvalidOperationException($"Debug API {CurrentApiVersion} doesn't implement this function"),
DebugApiVersion.v1_2_1 => new NodeInfoDto(await beeDebugClient_1_2_1.NodeAsync().ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new NodeInfoDto(await beeDebugClient_2_0_0.NodeAsync().ConfigureAwait(false)),
+ _ => throw new InvalidOperationException()
+ };
+
+ public async Task> GetOwnedPostageBatchesByNodeAsync() =>
+ CurrentApiVersion switch
+ {
+ DebugApiVersion.v1_2_0 => ((await beeDebugClient_1_2_0.StampsGetAsync().ConfigureAwait(false)).Stamps ?? Array.Empty()).Select(i => new PostageBatchDto(i)),
+ DebugApiVersion.v1_2_1 => ((await beeDebugClient_1_2_1.StampsGetAsync().ConfigureAwait(false)).Stamps ?? Array.Empty()).Select(i => new PostageBatchDto(i)),
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.StampsGetAsync().ConfigureAwait(false)).Stamps.Select(i => new PostageBatchDto(i)),
_ => throw new InvalidOperationException()
};
public async Task> GetPendingTransactionsAsync() =>
CurrentApiVersion switch
{
- DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.TransactionsGetAsync().ConfigureAwait(false)).PendingTransactions.Select(i => new PendingTransactionDto(i)),
- DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.TransactionsGetAsync().ConfigureAwait(false)).PendingTransactions.Select(i => new PendingTransactionDto(i)),
+ DebugApiVersion.v1_2_0 => ((await beeDebugClient_1_2_0.TransactionsGetAsync().ConfigureAwait(false)).PendingTransactions ?? Array.Empty()).Select(i => new PendingTransactionDto(i)),
+ DebugApiVersion.v1_2_1 => ((await beeDebugClient_1_2_1.TransactionsGetAsync().ConfigureAwait(false)).PendingTransactions ?? Array.Empty()).Select(i => new PendingTransactionDto(i)),
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.TransactionsGetAsync().ConfigureAwait(false)).PendingTransactions.Select(i => new PendingTransactionDto(i)),
_ => throw new InvalidOperationException()
};
- public async Task GetPostageBatchStatusAsync(string id) =>
+ public async Task GetPostageBatchAsync(string id) =>
CurrentApiVersion switch
{
- DebugApiVersion.v1_2_0 => new StampsGetDto(await beeDebugClient_1_2_0.StampsGetAsync(id).ConfigureAwait(false)),
- DebugApiVersion.v1_2_1 => new StampsGetDto(await beeDebugClient_1_2_1.StampsGetAsync(id).ConfigureAwait(false)),
+ DebugApiVersion.v1_2_0 => new PostageBatchDto(await beeDebugClient_1_2_0.StampsGetAsync(id).ConfigureAwait(false)),
+ DebugApiVersion.v1_2_1 => new PostageBatchDto(await beeDebugClient_1_2_1.StampsGetAsync(id).ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new PostageBatchDto(await beeDebugClient_2_0_0.StampsGetAsync(id).ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -304,6 +338,7 @@ public async Task GetReadinessAsync() =>
{
DebugApiVersion.v1_2_0 => new VersionDto(await beeDebugClient_1_2_0.ReadinessAsync().ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new VersionDto(await beeDebugClient_1_2_1.ReadinessAsync().ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new VersionDto(await beeDebugClient_2_0_0.ReadinessAsync().ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -312,14 +347,16 @@ public async Task GetReserveStateAsync() =>
{
DebugApiVersion.v1_2_0 => new ReserveStateDto(await beeDebugClient_1_2_0.ReservestateAsync().ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new ReserveStateDto(await beeDebugClient_1_2_1.ReservestateAsync().ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new ReserveStateDto(await beeDebugClient_2_0_0.ReservestateAsync().ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
public async Task> GetSettlementsWithPeerAsync(string address) =>
CurrentApiVersion switch
{
- DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.SettlementsGetAsync().ConfigureAwait(false)).Settlements.Select(i => new SettlementDataDto(i)),
- DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.SettlementsGetAsync().ConfigureAwait(false)).Settlements.Select(i => new SettlementDataDto(i)),
+ DebugApiVersion.v1_2_0 => ((await beeDebugClient_1_2_0.SettlementsGetAsync().ConfigureAwait(false)).Settlements ?? Array.Empty()).Select(i => new SettlementDataDto(i)),
+ DebugApiVersion.v1_2_1 => ((await beeDebugClient_1_2_1.SettlementsGetAsync().ConfigureAwait(false)).Settlements ?? Array.Empty()).Select(i => new SettlementDataDto(i)),
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.SettlementsGetAsync().ConfigureAwait(false)).Settlements.Select(i => new SettlementDataDto(i)),
_ => throw new InvalidOperationException()
};
@@ -328,6 +365,7 @@ public async Task GetStampsBucketsForBatchAsync(string batchId
{
DebugApiVersion.v1_2_0 => new StampsBucketsDto(await beeDebugClient_1_2_0.StampsBucketsAsync(batchId).ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new StampsBucketsDto(await beeDebugClient_1_2_1.StampsBucketsAsync(batchId).ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new StampsBucketsDto(await beeDebugClient_2_0_0.StampsBucketsAsync(batchId).ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -336,6 +374,7 @@ public async Task GetSwarmTopologyAsync() =>
{
DebugApiVersion.v1_2_0 => new TopologyDto(await beeDebugClient_1_2_0.TopologyAsync().ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new TopologyDto(await beeDebugClient_1_2_1.TopologyAsync().ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new TopologyDto(await beeDebugClient_2_0_0.TopologyAsync().ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -344,6 +383,7 @@ public async Task GetTagInfoAsync(int uid) =>
{
DebugApiVersion.v1_2_0 => new TagDto(await beeDebugClient_1_2_0.TagsAsync(uid).ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new TagDto(await beeDebugClient_1_2_1.TagsAsync(uid).ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new TagDto(await beeDebugClient_2_0_0.TagsAsync(uid).ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -352,6 +392,7 @@ public async Task GetTransactionInfoAsync(string txHash) =>
{
DebugApiVersion.v1_2_0 => new TransactionsDto(await beeDebugClient_1_2_0.TransactionsGetAsync(txHash).ConfigureAwait(false)),
DebugApiVersion.v1_2_1 => new TransactionsDto(await beeDebugClient_1_2_1.TransactionsGetAsync(txHash).ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new TransactionsDto(await beeDebugClient_2_0_0.TransactionsGetAsync(txHash).ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
@@ -360,6 +401,7 @@ public async Task GetWelcomeMessageAsync() =>
{
DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.WelcomeMessageGetAsync().ConfigureAwait(false)).WelcomeMessage,
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.WelcomeMessageGetAsync().ConfigureAwait(false)).WelcomeMessage,
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.WelcomeMessageGetAsync().ConfigureAwait(false)).WelcomeMessage,
_ => throw new InvalidOperationException()
};
@@ -368,6 +410,7 @@ public async Task RebroadcastTransactionAsync(string txHash) =>
{
DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.TransactionsPostAsync(txHash).ConfigureAwait(false)).TransactionHash,
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.TransactionsPostAsync(txHash).ConfigureAwait(false)).TransactionHash,
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.TransactionsPostAsync(txHash).ConfigureAwait(false)).TransactionHash,
_ => throw new InvalidOperationException()
};
@@ -384,16 +427,22 @@ public async Task SetWelcomeMessageAsync(string welcomeMessage) =>
{
WelcomeMessage = welcomeMessage
}).ConfigureAwait(false)),
+ DebugApiVersion.v2_0_0 => new VersionDto(await beeDebugClient_2_0_0.WelcomeMessagePostAsync(
+ new DebugApi.V2_0_0.Body
+ {
+ WelcomeMessage = welcomeMessage
+ }).ConfigureAwait(false)),
_ => throw new InvalidOperationException()
};
public async Task TopUpPostageBatchAsync(
string id,
- int amount) =>
+ long amount) =>
CurrentApiVersion switch
{
DebugApiVersion.v1_2_0 => ((JsonElement)(await beeDebugClient_1_2_0.StampsTopupAsync(id, amount).ConfigureAwait(false)).BatchID).ToString(),
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.StampsTopupAsync(id, amount).ConfigureAwait(false)).BatchID,
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.StampsTopupAsync(id, amount).ConfigureAwait(false)).BatchID,
_ => throw new InvalidOperationException()
};
@@ -402,16 +451,18 @@ public async Task TryConnectToPeerAsync(string peerId) =>
{
DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.PingpongAsync(peerId).ConfigureAwait(false)).Rtt,
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.PingpongAsync(peerId).ConfigureAwait(false)).Rtt,
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.PingpongAsync(peerId).ConfigureAwait(false)).Rtt,
_ => throw new InvalidOperationException()
};
public async Task WithdrawFromChequeBookAsync(
- int amount,
- int? gasPrice = null) =>
+ long amount,
+ long? gasPrice = null) =>
CurrentApiVersion switch
{
DebugApiVersion.v1_2_0 => (await beeDebugClient_1_2_0.ChequebookDepositAsync(amount, gasPrice).ConfigureAwait(false)).TransactionHash,
DebugApiVersion.v1_2_1 => (await beeDebugClient_1_2_1.ChequebookDepositAsync(amount, gasPrice).ConfigureAwait(false)).TransactionHash,
+ DebugApiVersion.v2_0_0 => (await beeDebugClient_2_0_0.ChequebookDepositAsync(amount, gasPrice).ConfigureAwait(false)).TransactionHash,
_ => throw new InvalidOperationException()
};
}
diff --git a/src/BeeNet/Clients/DebugApi/DebugApiVersion.cs b/src/BeeNet/Clients/DebugApi/DebugApiVersion.cs
index 0ee6ae3f..ca438fe1 100644
--- a/src/BeeNet/Clients/DebugApi/DebugApiVersion.cs
+++ b/src/BeeNet/Clients/DebugApi/DebugApiVersion.cs
@@ -17,6 +17,7 @@ namespace Etherna.BeeNet.Clients.DebugApi
public enum DebugApiVersion
{
v1_2_0,
- v1_2_1
+ v1_2_1,
+ v2_0_0
}
}
diff --git a/src/BeeNet/Clients/DebugApi/DtoFixer/PostageBatchDto.cs b/src/BeeNet/Clients/DebugApi/DtoFixer/PostageBatchDto.cs
new file mode 100644
index 00000000..d456c3fa
--- /dev/null
+++ b/src/BeeNet/Clients/DebugApi/DtoFixer/PostageBatchDto.cs
@@ -0,0 +1,67 @@
+// Copyright 2021-present Etherna Sagl
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+namespace Etherna.BeeNet.Clients.DebugApi.DtoFixer
+{
+ public class PostageBatchDto
+ {
+ ///
+ /// Internal debugging property. It indicates if the batch is expired.
+ ///
+ [System.Text.Json.Serialization.JsonPropertyName("exists")]
+ public bool Exists { get; set; } = default!;
+
+ ///
+ /// The time (in seconds) remaining until the batch expires; -1 signals that the batch never expires; 0 signals that the batch has already expired.
+ ///
+
+ [System.Text.Json.Serialization.JsonPropertyName("batchTTL")]
+ public int BatchTTL { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("batchID")]
+ public string BatchID { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("utilization")]
+ public int Utilization { get; set; } = default!;
+
+ ///
+ /// Indicate that the batch was discovered by the Bee node, but it awaits enough on-chain confirmations before declaring the batch as usable.
+ ///
+
+ [System.Text.Json.Serialization.JsonPropertyName("usable")]
+ public bool Usable { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("label")]
+ public string Label { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("depth")]
+ public int Depth { get; set; } = default!;
+
+ ///
+ /// Numeric string that represents integer which might exceeds `Number.MAX_SAFE_INTEGER` limit (2^53-1)
+ ///
+
+ [System.Text.Json.Serialization.JsonPropertyName("amount")]
+ public string Amount { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("bucketDepth")]
+ public int BucketDepth { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("blockNumber")]
+ public int BlockNumber { get; set; } = default!;
+
+ [System.Text.Json.Serialization.JsonPropertyName("immutableFlag")]
+ public bool ImmutableFlag { get; set; } = default!;
+ }
+}
diff --git a/src/BeeNet/Clients/DebugApi/IBeeDebugClient.cs b/src/BeeNet/Clients/DebugApi/IBeeDebugClient.cs
index 86a9679c..550eff89 100644
--- a/src/BeeNet/Clients/DebugApi/IBeeDebugClient.cs
+++ b/src/BeeNet/Clients/DebugApi/IBeeDebugClient.cs
@@ -32,11 +32,11 @@ public interface IBeeDebugClient
/// Returns the newly created postage batch ID
/// A server side error occurred.
Task BuyPostageBatchAsync(
- int amount,
+ long amount,
int depth,
string? label = null,
bool? immutable = null,
- int? gasPrice = null);
+ long? gasPrice = null);
/// Cashout the last cheque for the peer
/// Swarm address of peer
@@ -46,7 +46,7 @@ Task BuyPostageBatchAsync(
/// A server side error occurred.
Task CashoutChequeForPeerAsync(
string peerId,
- int? gasPrice = null,
+ long? gasPrice = null,
long? gasLimit = null);
/// Connect to address
@@ -74,7 +74,7 @@ Task CashoutChequeForPeerAsync(
/// A server side error occurred.
Task DeleteTransactionAsync(
string txHash,
- int? gasPrice = null);
+ long? gasPrice = null);
/// Deposit tokens from overlay address into chequebook
/// amount of tokens to deposit
@@ -82,8 +82,8 @@ Task DeleteTransactionAsync(
/// Transaction hash of the deposit transaction
/// A server side error occurred.
Task DepositIntoChequeBookAsync(
- int amount,
- int? gasPrice = null);
+ long amount,
+ long? gasPrice = null);
/// Dilute an existing postage batch.
/// Batch ID to dilute
@@ -102,14 +102,6 @@ Task DepositIntoChequeBookAsync(
/// A server side error occurred.
Task> GetAllBalancesAsync();
- ///
- /// Get all globally available batches that were purchased by all nodes.
- ///
- ///
- /// Returns an array of all available and currently valid postage batches.
- /// A server side error occurred.
- Task> GetAllBatchesFromAllNodesAsync();
-
/// Get last cheques for all peers
/// Last cheques
/// A server side error occurred.
@@ -130,16 +122,19 @@ Task DepositIntoChequeBookAsync(
/// A server side error occurred.
Task GetAllSettlementsAsync();
- /// Get all available stamps for this node
- /// Returns an array of all available postage batches.
- /// A server side error occurred.
- Task> GetAllStampsAsync();
-
/// Get time based settlements with all known peers and total amount sent or received
/// Time based settlements with all known peers and total amount sent or received
/// A server side error occurred.
Task GetAllTimeSettlementsAsync();
+ ///
+ /// Get all globally available batches that were purchased by all nodes.
+ ///
+ ///
+ /// Returns an array of all available and currently valid postage batches.
+ /// A server side error occurred.
+ Task> GetAllValidPostageBatchesFromAllNodesAsync();
+
/// Get the balances with a specific peer including prepaid services
/// Swarm address of peer
/// Balance with the specific peer
@@ -202,6 +197,11 @@ Task DepositIntoChequeBookAsync(
/// A server side error occurred.
Task GetNodeInfoAsync();
+ /// Get all owned postage batches by this node
+ /// List of all owned postage batches
+ /// A server side error occurred
+ Task> GetOwnedPostageBatchesByNodeAsync();
+
/// Get list of pending transactions
/// List of pending transactions
/// A server side error occurred.
@@ -211,7 +211,7 @@ Task DepositIntoChequeBookAsync(
/// Swarm address of the stamp
/// Returns an individual postage batch state
/// A server side error occurred.
- Task GetPostageBatchStatusAsync(string id);
+ Task GetPostageBatchAsync(string id);
/// Get readiness state of node
/// Health State of node
@@ -272,7 +272,7 @@ Task DepositIntoChequeBookAsync(
/// Amount of BZZ per chunk to top up to an existing postage batch.
/// Returns the postage batch ID that was topped up
/// A server side error occurred.
- Task TopUpPostageBatchAsync(string id, int amount);
+ Task TopUpPostageBatchAsync(string id, long amount);
/// Try connection to node
/// Swarm address of peer
@@ -286,7 +286,7 @@ Task DepositIntoChequeBookAsync(
/// Transaction hash of the withdraw transaction
/// A server side error occurred.
Task WithdrawFromChequeBookAsync(
- int amount,
- int? gasPrice = null);
+ long amount,
+ long? gasPrice = null);
}
}
diff --git a/src/BeeNet/Clients/DebugApi/V1_2_1/BeeDebugClient_1_2_1.cs b/src/BeeNet/Clients/DebugApi/V1_2_1/BeeDebugClient_1_2_1.cs
index ee5d177a..7a0232ba 100644
--- a/src/BeeNet/Clients/DebugApi/V1_2_1/BeeDebugClient_1_2_1.cs
+++ b/src/BeeNet/Clients/DebugApi/V1_2_1/BeeDebugClient_1_2_1.cs
@@ -14,7 +14,7 @@
//----------------------
//
-// Generated using the NSwag toolchain v13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0)) (http://NSwag.org)
+// Generated using the NSwag toolchain v13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0)) (http://NSwag.org)
//
//----------------------
@@ -35,7 +35,7 @@ namespace Etherna.BeeNet.Clients.DebugApi.V1_2_1
{
using System = global::System;
- [System.CodeDom.Compiler.GeneratedCode("NSwag", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NSwag", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial interface IBeeDebugClient_1_2_1
{
@@ -262,7 +262,7 @@ public partial interface IBeeDebugClient_1_2_1
/// Gas limit for transaction
/// OK
/// A server side error occurred.
- System.Threading.Tasks.Task ChequebookCashoutPostAsync(string peer_id, int? gas_price = null, long? gas_limit = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task ChequebookCashoutPostAsync(string peer_id, long? gas_price = null, long? gas_limit = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
@@ -289,7 +289,7 @@ public partial interface IBeeDebugClient_1_2_1
/// Gas price for transaction
/// Transaction hash of the deposit transaction
/// A server side error occurred.
- System.Threading.Tasks.Task ChequebookDepositAsync(int amount, int? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task ChequebookDepositAsync(long amount, long? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
@@ -299,7 +299,7 @@ public partial interface IBeeDebugClient_1_2_1
/// Gas price for transaction
/// Transaction hash of the withdraw transaction
/// A server side error occurred.
- System.Threading.Tasks.Task ChequebookWithdrawAsync(int amount, int? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task ChequebookWithdrawAsync(long amount, long? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
@@ -344,7 +344,7 @@ public partial interface IBeeDebugClient_1_2_1
/// Gas price for transaction
/// Hash of the transaction
/// A server side error occurred.
- System.Threading.Tasks.Task TransactionsDeleteAsync(string txHash, int? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task TransactionsDeleteAsync(string txHash, long? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
@@ -382,7 +382,7 @@ public partial interface IBeeDebugClient_1_2_1
/// Gas price for transaction
/// Returns the newly created postage batch ID
/// A server side error occurred.
- System.Threading.Tasks.Task StampsPostAsync(int amount, int depth, string? label = null, bool? immutable = null, int? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task StampsPostAsync(long amount, int depth, string? label = null, bool? immutable = null, long? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
@@ -392,7 +392,7 @@ public partial interface IBeeDebugClient_1_2_1
/// Amount of BZZ per chunk to top up to an existing postage batch.
/// Returns the postage batch ID that was topped up
/// A server side error occurred.
- System.Threading.Tasks.Task StampsTopupAsync(string id, int amount, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+ System.Threading.Tasks.Task StampsTopupAsync(string id, long amount, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
@@ -414,7 +414,7 @@ public partial interface IBeeDebugClient_1_2_1
}
- [System.CodeDom.Compiler.GeneratedCode("NSwag", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NSwag", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class BeeDebugClient_1_2_1 : IBeeDebugClient_1_2_1
{
private string _baseUrl = "http://{apiRoot}:{port}";
@@ -2614,7 +2614,7 @@ public string BaseUrl
/// Gas limit for transaction
/// OK
/// A server side error occurred.
- public virtual async System.Threading.Tasks.Task ChequebookCashoutPostAsync(string peer_id, int? gas_price = null, long? gas_limit = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public virtual async System.Threading.Tasks.Task ChequebookCashoutPostAsync(string peer_id, long? gas_price = null, long? gas_limit = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
if (peer_id == null)
throw new System.ArgumentNullException("peer_id");
@@ -2912,7 +2912,7 @@ public string BaseUrl
/// Gas price for transaction
/// Transaction hash of the deposit transaction
/// A server side error occurred.
- public virtual async System.Threading.Tasks.Task ChequebookDepositAsync(int amount, int? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public virtual async System.Threading.Tasks.Task ChequebookDepositAsync(long amount, long? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
if (amount == null)
throw new System.ArgumentNullException("amount");
@@ -3013,7 +3013,7 @@ public string BaseUrl
/// Gas price for transaction
/// Transaction hash of the withdraw transaction
/// A server side error occurred.
- public virtual async System.Threading.Tasks.Task ChequebookWithdrawAsync(int amount, int? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public virtual async System.Threading.Tasks.Task ChequebookWithdrawAsync(long amount, long? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
if (amount == null)
throw new System.ArgumentNullException("amount");
@@ -3480,7 +3480,7 @@ public string BaseUrl
/// Gas price for transaction
/// Hash of the transaction
/// A server side error occurred.
- public virtual async System.Threading.Tasks.Task TransactionsDeleteAsync(string txHash, int? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public virtual async System.Threading.Tasks.Task TransactionsDeleteAsync(string txHash, long? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
if (txHash == null)
throw new System.ArgumentNullException("txHash");
@@ -3821,7 +3821,7 @@ public string BaseUrl
/// Gas price for transaction
/// Returns the newly created postage batch ID
/// A server side error occurred.
- public virtual async System.Threading.Tasks.Task StampsPostAsync(int amount, int depth, string? label = null, bool? immutable = null, int? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public virtual async System.Threading.Tasks.Task StampsPostAsync(long amount, int depth, string? label = null, bool? immutable = null, long? gas_price = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
if (amount == null)
throw new System.ArgumentNullException("amount");
@@ -3943,7 +3943,7 @@ public string BaseUrl
/// Amount of BZZ per chunk to top up to an existing postage batch.
/// Returns the postage batch ID that was topped up
/// A server side error occurred.
- public virtual async System.Threading.Tasks.Task StampsTopupAsync(string id, int amount, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
+ public virtual async System.Threading.Tasks.Task StampsTopupAsync(string id, long amount, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
if (id == null)
throw new System.ArgumentNullException("id");
@@ -4337,7 +4337,7 @@ private string ConvertToString(object? value, System.Globalization.CultureInfo c
}
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Body
{
@@ -4355,7 +4355,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response
{
@@ -4389,7 +4389,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response2
{
@@ -4407,7 +4407,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response3
{
@@ -4433,7 +4433,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response4
{
@@ -4451,7 +4451,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response5
{
@@ -4469,7 +4469,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response6
{
@@ -4495,7 +4495,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response7
{
@@ -4514,7 +4514,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response8
{
///
@@ -4542,7 +4542,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response9
{
@@ -4563,7 +4563,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response10
{
@@ -4584,7 +4584,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response11
{
@@ -4603,7 +4603,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response12
{
@@ -4638,7 +4638,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response13
{
@@ -4662,7 +4662,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response14
{
///
@@ -4694,7 +4694,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response15
{
@@ -4729,7 +4729,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response16
{
@@ -4747,7 +4747,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response17
{
@@ -4768,7 +4768,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response18
{
///
@@ -4789,7 +4789,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response19
{
@@ -4824,7 +4824,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response20
{
@@ -4849,7 +4849,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response21
{
@@ -4873,7 +4873,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response22
{
@@ -4897,7 +4897,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response23
{
@@ -4934,7 +4934,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response24
{
@@ -4952,7 +4952,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response25
{
@@ -4987,7 +4987,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response26
{
@@ -5023,7 +5023,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response27
{
@@ -5042,7 +5042,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response28
{
@@ -5067,7 +5067,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response29
{
@@ -5085,7 +5085,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response30
{
@@ -5104,7 +5104,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response31
{
@@ -5123,7 +5123,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response32
{
@@ -5166,7 +5166,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response33
{
@@ -5184,7 +5184,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response34
{
@@ -5207,7 +5207,7 @@ public partial class Response34
public string GasPrice { get; set; } = default!;
[System.Text.Json.Serialization.JsonPropertyName("gasLimit")]
- public int GasLimit { get; set; } = default!;
+ public long GasLimit { get; set; } = default!;
[System.Text.Json.Serialization.JsonPropertyName("data")]
public string Data { get; set; } = default!;
@@ -5236,7 +5236,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response35
{
@@ -5255,7 +5255,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response36
{
@@ -5274,7 +5274,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response37
{
@@ -5292,7 +5292,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response38 : Anonymous2
{
///
@@ -5311,7 +5311,7 @@ public partial class Response38 : Anonymous2
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response39
{
@@ -5338,7 +5338,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response40
{
@@ -5357,7 +5357,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response41
{
@@ -5376,7 +5376,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response42
{
@@ -5395,7 +5395,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response43
{
@@ -5413,7 +5413,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response44
{
@@ -5434,7 +5434,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response45
{
@@ -5455,7 +5455,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response46
{
@@ -5476,7 +5476,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response47
{
@@ -5497,7 +5497,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response48
{
@@ -5518,7 +5518,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response49
{
@@ -5539,7 +5539,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response50
{
@@ -5560,7 +5560,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response51
{
@@ -5581,7 +5581,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response52
{
@@ -5602,7 +5602,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response53
{
@@ -5623,7 +5623,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response54
{
@@ -5644,7 +5644,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response55
{
@@ -5665,7 +5665,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response56
{
@@ -5686,7 +5686,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response57
{
@@ -5707,7 +5707,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response58
{
@@ -5728,7 +5728,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response59
{
@@ -5749,7 +5749,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response60
{
@@ -5770,7 +5770,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response61
{
@@ -5791,7 +5791,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response62
{
@@ -5812,7 +5812,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response63
{
@@ -5833,7 +5833,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response64
{
@@ -5854,7 +5854,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response65
{
@@ -5875,7 +5875,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response66
{
@@ -5896,7 +5896,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response67
{
@@ -5917,7 +5917,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response68
{
@@ -5938,7 +5938,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response69
{
@@ -5959,7 +5959,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response70
{
@@ -5980,7 +5980,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response71
{
@@ -6001,7 +6001,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response72
{
@@ -6022,7 +6022,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response73
{
@@ -6043,7 +6043,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response74
{
@@ -6064,7 +6064,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response75
{
@@ -6085,7 +6085,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response76
{
@@ -6106,7 +6106,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response77
{
@@ -6127,7 +6127,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response78
{
@@ -6148,7 +6148,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response79
{
@@ -6169,7 +6169,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response80
{
@@ -6190,7 +6190,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response81
{
@@ -6211,7 +6211,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response82
{
@@ -6232,7 +6232,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response83
{
@@ -6253,7 +6253,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response84
{
@@ -6274,7 +6274,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response85
{
@@ -6295,7 +6295,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response86
{
@@ -6316,7 +6316,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response87
{
@@ -6337,7 +6337,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response88
{
@@ -6358,7 +6358,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response89
{
@@ -6379,7 +6379,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response90
{
@@ -6400,7 +6400,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response91
{
@@ -6421,7 +6421,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response92
{
@@ -6442,7 +6442,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response93
{
@@ -6463,7 +6463,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response94
{
@@ -6484,7 +6484,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response95
{
@@ -6505,7 +6505,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response96
{
@@ -6526,7 +6526,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response97
{
@@ -6547,7 +6547,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response98
{
@@ -6568,7 +6568,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response99
{
@@ -6589,7 +6589,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response100
{
@@ -6610,7 +6610,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response101
{
@@ -6631,7 +6631,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response102
{
@@ -6652,7 +6652,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response103
{
@@ -6673,7 +6673,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Response104
{
@@ -6694,7 +6694,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Balances
{
@@ -6720,7 +6720,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Peers
{
@@ -6739,7 +6739,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Balances2
{
@@ -6765,7 +6765,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public enum Response14BeeMode
{
@@ -6780,7 +6780,7 @@ public enum Response14BeeMode
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Peers2
{
@@ -6799,7 +6799,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Settlements
{
@@ -6824,7 +6824,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Settlements2
{
@@ -6849,7 +6849,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Anonymous
{
@@ -6876,7 +6876,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class LastCashedCheque
{
@@ -6906,7 +6906,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Result
{
@@ -6935,7 +6935,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Lastreceived
{
@@ -6965,7 +6965,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Lastsent
{
@@ -6995,7 +6995,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Lastcheques
{
@@ -7020,7 +7020,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class PendingTransactions
{
@@ -7043,7 +7043,7 @@ public partial class PendingTransactions
public string GasPrice { get; set; } = default!;
[System.Text.Json.Serialization.JsonPropertyName("gasLimit")]
- public int GasLimit { get; set; } = default!;
+ public long GasLimit { get; set; } = default!;
[System.Text.Json.Serialization.JsonPropertyName("data")]
public string Data { get; set; } = default!;
@@ -7141,7 +7141,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Buckets
{
@@ -7162,7 +7162,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Stamps2
{
@@ -7207,7 +7207,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class DisconnectedPeers
{
@@ -7229,7 +7229,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class ConnectedPeers
{
@@ -7251,7 +7251,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Lastreceived2
{
@@ -7281,7 +7281,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Lastsent2
{
@@ -7361,7 +7361,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Metrics
{
@@ -7394,7 +7394,7 @@ public System.Collections.Generic.IDictionary AdditionalProperti
}
- [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.7.0 (NJsonSchema v10.6.7.0 (Newtonsoft.Json v12.0.0.0))")]
+ [System.CodeDom.Compiler.GeneratedCode("NJsonSchema", "13.15.9.0 (NJsonSchema v10.6.8.0 (Newtonsoft.Json v12.0.0.0))")]
public partial class Metrics2
{
diff --git a/src/BeeNet/Clients/DebugApi/V2_0_0/BeeDebugClient_2_0_0.cs b/src/BeeNet/Clients/DebugApi/V2_0_0/BeeDebugClient_2_0_0.cs
new file mode 100644
index 00000000..fae35d48
--- /dev/null
+++ b/src/BeeNet/Clients/DebugApi/V2_0_0/BeeDebugClient_2_0_0.cs
@@ -0,0 +1,7331 @@
+// Copyright 2021-present Etherna Sagl
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+//----------------------
+//
+// Generated using the NSwag toolchain v13.15.10.0 (NJsonSchema v10.6.10.0 (Newtonsoft.Json v12.0.0.0)) (http://NSwag.org)
+//
+//----------------------
+
+#nullable enable
+
+using Etherna.BeeNet.Exceptions;
+
+#pragma warning disable 108 // Disable "CS0108 '{derivedDto}.ToJson()' hides inherited member '{dtoBase}.ToJson()'. Use the new keyword if hiding was intended."
+#pragma warning disable 114 // Disable "CS0114 '{derivedDto}.RaisePropertyChanged(String)' hides inherited member 'dtoBase.RaisePropertyChanged(String)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword."
+#pragma warning disable 472 // Disable "CS0472 The result of the expression is always 'false' since a value of type 'Int32' is never equal to 'null' of type 'Int32?'
+#pragma warning disable 1573 // Disable "CS1573 Parameter '...' has no matching param tag in the XML comment for ...
+#pragma warning disable 1591 // Disable "CS1591 Missing XML comment for publicly visible type or member ..."
+#pragma warning disable 8073 // Disable "CS8073 The result of the expression is always 'false' since a value of type 'T' is never equal to 'null' of type 'T?'"
+#pragma warning disable 3016 // Disable "CS3016 Arrays as attribute arguments is not CLS-compliant"
+#pragma warning disable 8603 // Disable "CS8603 Possible null reference return"
+
+namespace Etherna.BeeNet.Clients.DebugApi.V2_0_0
+{
+ using System = global::System;
+
+ [System.CodeDom.Compiler.GeneratedCode("NSwag", "13.15.10.0 (NJsonSchema v10.6.10.0 (Newtonsoft.Json v12.0.0.0))")]
+ public partial interface IBeeDebugClient_2_0_0
+ {
+
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ /// Get overlay and underlay addresses of the node
+ ///
+ /// Own node underlay and overlay addresses
+ /// A server side error occurred.
+ System.Threading.Tasks.Task AddressesAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ /// Get the balances with all known peers including prepaid services
+ ///
+ /// Own balances with all known peers
+ /// A server side error occurred.
+ System.Threading.Tasks.Task BalancesGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ /// Get the balances with a specific peer including prepaid services
+ ///
+ /// Swarm address of peer
+ /// Balance with the specific peer
+ /// A server side error occurred.
+ System.Threading.Tasks.Task BalancesGetAsync(string address, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ /// Get a list of blocklisted peers
+ ///
+ /// Returns overlay addresses of blocklisted peers
+ /// A server side error occurred.
+ System.Threading.Tasks.Task BlocklistAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ /// Get the past due consumption balances with all known peers
+ ///
+ /// Own past due consumption balances with all known peers
+ /// A server side error occurred.
+ System.Threading.Tasks.Task ConsumedGetAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ /// Get the past due consumption balance with a specific peer
+ ///
+ /// Swarm address of peer
+ /// Past-due consumption balance with the specific peer
+ /// A server side error occurred.
+ System.Threading.Tasks.Task ConsumedGetAsync(string address, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ /// Get the address of the chequebook contract used
+ ///
+ /// Ethereum address of chequebook contract
+ /// A server side error occurred.
+ System.Threading.Tasks.Task ChequebookAddressAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ /// Get the balance of the chequebook
+ ///
+ /// Balance of the chequebook
+ /// A server side error occurred.
+ System.Threading.Tasks.Task ChequebookBalanceAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+
+ /// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
+ ///
+ /// Check if chunk at address exists locally
+ ///
+ /// Swarm address of chunk
+ /// Chunk exists
+ /// A server side error occurred.
+ System.Threading.Tasks.Task ChunksGetAsync(string address, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken));
+
+ ///