Class PreapplyOperationQuery
Rpc query to access operations pre-applying
Inherited Members
Namespace: Netmavryk.Rpc.Queries.Post
Assembly: Netmavryk.dll
Syntax
public class PreapplyOperationQuery : RpcMethod
Methods
| Improve this Doc View SourcePostAsync(String, IEnumerable<Operation>)
Simulates the validation of an operation and returns the pre-applied data
Declaration
public Task<dynamic> PostAsync(string protocol, IEnumerable<Operation> operations)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | protocol | |
| IEnumerable<Operation> | operations | Operations |
Returns
| Type | Description |
|---|---|
| Task<System.Object> |
PostAsync(String, String, String, List<OperationContent>)
Simulates the validation of an operation and returns the pre-applied data
Declaration
public Task<dynamic> PostAsync(string protocol, string signature, string branch, List<OperationContent> contents)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | protocol | Protocol hash |
| System.String | signature | Signature |
| System.String | branch | Branch |
| List<OperationContent> | contents | List of contents |
Returns
| Type | Description |
|---|---|
| Task<System.Object> |
PostAsync<T>(String, String, String, List<OperationContent>)
Simulates the validation of an operation and returns the pre-applied data
Declaration
public Task<T> PostAsync<T>(string protocol, string signature, string branch, List<OperationContent> contents)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | protocol | Protocol hash |
| System.String | signature | Signature |
| System.String | branch | Branch |
| List<OperationContent> | contents | List of contents |
Returns
| Type | Description |
|---|---|
| Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the object to deserialize to |