Search Results for

    Show / Hide Table of Contents

    Class InjectProtocolQuery

    Rpc query to access protocols injection

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

    Methods

    | Improve this Doc View Source

    PostAsync(Int32, List<Object>, Boolean, Boolean)

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

    Declaration
    public Task<dynamic> PostAsync(int expectedEnvVersion, List<object> components, bool async = false, bool force = false)
    Parameters
    Type Name Description
    System.Int32 expectedEnvVersion

    Expected environment version

    List<System.Object> components

    List of components

    System.Boolean async

    Async (optional)

    System.Boolean force

    Force (optional)

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

    PostAsync<T>(Int32, List<Object>, Boolean, Boolean)

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

    Declaration
    public Task<T> PostAsync<T>(int expectedEnvVersion, List<object> components, bool async = false, bool force = false)
    Parameters
    Type Name Description
    System.Int32 expectedEnvVersion

    Expected environment version

    List<System.Object> components

    List of components

    System.Boolean async

    Async (optional)

    System.Boolean force

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