Class ShardsQuery
Namespace: Netezos.Rpc.Queries.Dal
Assembly: Netezos.dll
Syntax
public class ShardsQuery : RpcObject
Methods
| Improve this Doc View SourceGetAsync(Int32, String)
Get the shards assignment for a given level and given delegates.
Declaration
public Task<dynamic> GetAsync(int level, string delegates)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | level | Level of the block |
| System.String | delegates | A Secp256k1 or an Ed25519 public key hash (Base58Check-encoded) |
Returns
| Type | Description |
|---|---|
| Task<System.Object> |
GetAsync<T>(Int32, String)
Get the shards assignment for a given level and given delegates.
Declaration
public Task<T> GetAsync<T>(int level, string delegates)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | level | Level of the block |
| System.String | delegates | A Secp256k1 or an Ed25519 public key hash (Base58Check-encoded) |
Returns
| Type | Description |
|---|---|
| Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T |