Search Results for

    Show / Hide Table of Contents

    Class PreapplyBlockQuery

    Rpc query to access blocks pre-applying

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

    Methods

    | Improve this Doc View Source

    PostAsync(String, Int32, String, String, List<List<Object>>, DateTime, Boolean, Nullable<String>)

    Simulates the validation of a block that would contain the given operations and returns the resulting fitness and context hash

    Declaration
    public Task<dynamic> PostAsync(string protocol, int priority, string powNonce, string signature, List<List<object>> operations, DateTime timestamp, bool sort = false, string? seedNonceHash = null)
    Parameters
    Type Name Description
    System.String protocol

    Protocol hash

    System.Int32 priority

    Priority

    System.String powNonce

    Proof of work nonce

    System.String signature

    Signature

    List<List<System.Object>> operations

    List of operations

    DateTime timestamp

    Timestamp

    System.Boolean sort

    Sort (optional)

    System.Nullable<System.String> seedNonceHash

    Seed nonce hash (optional)

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

    PostAsync(String, Int32, String, String, List<List<Object>>, Nullable<String>)

    Simulates the validation of a block that would contain the given operations and returns the resulting fitness and context hash

    Declaration
    public Task<dynamic> PostAsync(string protocol, int priority, string powNonce, string signature, List<List<object>> operations, string? seedNonceHash = null)
    Parameters
    Type Name Description
    System.String protocol

    Protocol hash

    System.Int32 priority

    Priority

    System.String powNonce

    Proof of work nonce

    System.String signature

    Signature

    List<List<System.Object>> operations

    List of operations

    System.Nullable<System.String> seedNonceHash

    Seed nonce hash (optional)

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

    PostAsync<T>(String, Int32, String, String, List<List<Object>>, DateTime, Boolean, Nullable<String>)

    Simulates the validation of a block that would contain the given operations and returns the resulting fitness and context hash

    Declaration
    public Task<T> PostAsync<T>(string protocol, int priority, string powNonce, string signature, List<List<object>> operations, DateTime timestamp, bool sort = false, string? seedNonceHash = null)
    Parameters
    Type Name Description
    System.String protocol

    Protocol hash

    System.Int32 priority

    Priority

    System.String powNonce

    Proof of work nonce

    System.String signature

    Signature

    List<List<System.Object>> operations

    List of operations

    DateTime timestamp

    Timestamp

    System.Boolean sort

    Sort (optional)

    System.Nullable<System.String> seedNonceHash

    Seed nonce hash (optional)

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

    Type of the object to deserialize to

    | Improve this Doc View Source

    PostAsync<T>(String, Int32, String, String, List<List<Object>>, Nullable<String>)

    Simulates the validation of a block that would contain the given operations and returns the resulting fitness and context hash

    Declaration
    public Task<T> PostAsync<T>(string protocol, int priority, string powNonce, string signature, List<List<object>> operations, string? seedNonceHash = null)
    Parameters
    Type Name Description
    System.String protocol

    Protocol hash

    System.Int32 priority

    Priority

    System.String powNonce

    Proof of work nonce

    System.String signature

    Signature

    List<List<System.Object>> operations

    List of operations

    System.Nullable<System.String> seedNonceHash

    Seed nonce hash (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