Search Results for

    Show / Hide Table of Contents

    Class InjectBlockQuery

    Rpc query to access blocks injection

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

    Methods

    | Improve this Doc View Source

    PostAsync(String, List<List<Object>>, Boolean, Boolean, Chain)

    Injects a block into the node and returns the ID of the block

    Declaration
    public Task<dynamic> PostAsync(string data, List<List<object>> operations, bool async = false, bool force = false, Chain chain = Chain.Main)
    Parameters
    Type Name Description
    System.String data

    Forged block header data

    List<List<System.Object>> operations

    List of operations

    System.Boolean async

    Async (optional)

    System.Boolean force

    Force (optional)

    Chain chain

    Chain (optional)

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

    PostAsync<T>(String, List<List<Object>>, Boolean, Boolean, Chain)

    Injects a block into the node and returns the ID of the block

    Declaration
    public Task<T> PostAsync<T>(string data, List<List<object>> operations, bool async = false, bool force = false, Chain chain = Chain.Main)
    Parameters
    Type Name Description
    System.String data

    Forged block header data

    List<List<System.Object>> operations

    List of operations

    System.Boolean async

    Async (optional)

    System.Boolean force

    Force (optional)

    Chain chain

    Chain (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