Search Results for

    Show / Hide Table of Contents

    Class ValidatorsQuery

    Retrieves the delegates allowed to endorse a block.

    Inheritance
    System.Object
    RpcQuery
    RpcObject
    ValidatorsQuery
    Inherited Members
    RpcQuery.ToString()
    Namespace: Netmavryk.Rpc.Queries
    Assembly: Netmavryk.dll
    Syntax
    public class ValidatorsQuery : RpcObject

    Methods

    | Improve this Doc View Source

    GetAsync()

    Gives the endorsing slots for delegates that have at least one in the next block.

    Declaration
    public Task<dynamic> GetAsync()
    Returns
    Type Description
    Task<System.Object>
    | Improve this Doc View Source

    GetAsync(String)

    Gives the endorsing slots for the delegate

    Declaration
    public Task<dynamic> GetAsync(string baker)
    Parameters
    Type Name Description
    System.String baker

    Delegate whose endorsing rights are to be returned

    Returns
    Type Description
    Task<System.Object>
    | Improve this Doc View Source

    GetAsync<T>()

    Executes the query and returns the endorsing rights

    Declaration
    public Task<T> GetAsync<T>()
    Returns
    Type Description
    Task<T>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    GetAsync<T>(String)

    Executes the query and returns the endorsing rights

    Declaration
    public Task<T> GetAsync<T>(string baker)
    Parameters
    Type Name Description
    System.String baker

    Delegate whose endorsing rights are to be returned

    Returns
    Type Description
    Task<T>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    GetFromLevelAsync(Int32)

    Executes the query and returns the endorsing rights

    Declaration
    public Task<dynamic> GetFromLevelAsync(int level)
    Parameters
    Type Name Description
    System.Int32 level

    Level of the block at which the endorsing rights are to be returned

    Returns
    Type Description
    Task<System.Object>
    | Improve this Doc View Source

    GetFromLevelAsync(Int32, String)

    Executes the query and returns the endorsing rights

    Declaration
    public Task<dynamic> GetFromLevelAsync(int level, string baker)
    Parameters
    Type Name Description
    System.Int32 level

    Level of the block at which the endorsing rights are to be returned

    System.String baker

    Delegate whose endorsing rights are to be returned

    Returns
    Type Description
    Task<System.Object>
    | Improve this Doc View Source

    GetFromLevelAsync<T>(Int32)

    Executes the query and returns the endorsing rights

    Declaration
    public Task<T> GetFromLevelAsync<T>(int level)
    Parameters
    Type Name Description
    System.Int32 level

    Level of the block at which the endorsing rights are to be returned

    Returns
    Type Description
    Task<T>
    Type Parameters
    Name Description
    T
    | Improve this Doc View Source

    GetFromLevelAsync<T>(Int32, String)

    Executes the query and returns the endorsing rights

    Declaration
    public Task<T> GetFromLevelAsync<T>(int level, string baker)
    Parameters
    Type Name Description
    System.Int32 level

    Level of the block at which the endorsing rights are to be returned

    System.String baker

    Delegate whose endorsing rights are to be returned

    Returns
    Type Description
    Task<T>
    Type Parameters
    Name Description
    T
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © Mavryk Dynamics