Search Results for

    Show / Hide Table of Contents

    Class ForgeBlockHeaderQuery

    Rpc query to access block headers forging

    Inheritance
    System.Object
    RpcQuery
    RpcMethod
    ForgeBlockHeaderQuery
    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 ForgeBlockHeaderQuery : RpcMethod

    Methods

    | Improve this Doc View Source

    PostAsync(Int32, Int32, String, DateTime, Int32, String, List<String>, String, String)

    Forges a block header and returns forged bytes

    Declaration
    public Task<dynamic> PostAsync(int level, int proto, string predecessor, DateTime timestamp, int validationPass, string operationsHash, List<string> fitness, string context, string protocolData)
    Parameters
    Type Name Description
    System.Int32 level

    Level of the block

    System.Int32 proto

    Number of the protocol

    System.String predecessor

    Predecessor

    DateTime timestamp

    Timestamp

    System.Int32 validationPass

    Validation pass

    System.String operationsHash

    A list of list of operations (Base58Check-encoded)

    List<System.String> fitness

    Fitness of the block

    System.String context

    Context hash (Base58Check-encoded)

    System.String protocolData

    Protocol data hexadecimal string

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

    PostAsync<T>(Int32, Int32, String, DateTime, Int32, String, List<String>, String, String)

    Forges a block header and returns forged bytes

    Declaration
    public Task<T> PostAsync<T>(int level, int proto, string predecessor, DateTime timestamp, int validationPass, string operationsHash, List<string> fitness, string context, string protocolData)
    Parameters
    Type Name Description
    System.Int32 level

    Level of the block

    System.Int32 proto

    Number of the protocol

    System.String predecessor

    Predecessor

    DateTime timestamp

    Timestamp

    System.Int32 validationPass

    Validation pass

    System.String operationsHash

    A list of list of operations (Base58Check-encoded)

    List<System.String> fitness

    Fitness of the block

    System.String context

    Context hash (Base58Check-encoded)

    System.String protocolData

    Protocol data hexadecimal string

    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