Search Results for

    Show / Hide Table of Contents

    Class ForgeProtocolDataQuery

    Rpc query to access protocol data forging

    Inheritance
    System.Object
    RpcQuery
    RpcMethod
    ForgeProtocolDataQuery
    Inherited Members
    RpcMethod.PostAsync(String)
    RpcMethod.PostAsync(Object)
    RpcMethod.PostAsync<T>(String)
    RpcMethod.PostAsync<T>(Object)
    RpcQuery.ToString()
    Namespace: Netezos.Rpc.Queries.Post
    Assembly: Netezos.dll
    Syntax
    public class ForgeProtocolDataQuery : RpcMethod

    Methods

    | Improve this Doc View Source

    PostAsync(Int32, String, String)

    Forges the protocol-specific part of a block header and returns forged bytes

    Declaration
    public Task<dynamic> PostAsync(int priority, string nonceHash, string powNonce)
    Parameters
    Type Name Description
    System.Int32 priority

    Priority

    System.String nonceHash

    Nonce hash

    System.String powNonce

    Proof of work nonce (optional)

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

    PostAsync<T>(Int32, String, String)

    Forges the protocol-specific part of a block header and returns forged bytes

    Declaration
    public Task<T> PostAsync<T>(int priority, string nonceHash, string powNonce)
    Parameters
    Type Name Description
    System.Int32 priority

    Priority

    System.String nonceHash

    Nonce hash

    System.String powNonce

    Proof of work nonce (optional)

    Returns
    Type Description
    Task<T>
    Type Parameters
    Name Description
    T

    Type of the object to deserialize to

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © Baking Bad