Class SimulateOperationQuery
Rpc query to access operations simulation
Inherited Members
Namespace: Netmavryk.Rpc.Queries.Post
Assembly: Netmavryk.dll
Syntax
public class SimulateOperationQuery : RpcMethod
Methods
| Improve this Doc View SourcePostAsync(OperationContent[])
Simulate an operation
Declaration
public Task<dynamic> PostAsync(params OperationContent[] contents)
Parameters
| Type | Name | Description |
|---|---|---|
| OperationContent[] | contents | Operation content |
Returns
| Type | Description |
|---|---|
| Task<System.Object> |
PostAsync(String, String, Int32, OperationContent[])
Simulate an operation
Declaration
public Task<dynamic> PostAsync(string chain_id, string branch, int latency, params OperationContent[] contents)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | chain_id | Chain id |
| System.String | branch | Branch |
| System.Int32 | latency | Latency |
| OperationContent[] | contents | List of operation contents |
Returns
| Type | Description |
|---|---|
| Task<System.Object> |
PostAsync<T>(OperationContent[])
Simulate an operation
Declaration
public Task<T> PostAsync<T>(params OperationContent[] contents)
Parameters
| Type | Name | Description |
|---|---|---|
| OperationContent[] | contents | Operation content |
Returns
| Type | Description |
|---|---|
| Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the object to deserialize to |
PostAsync<T>(String, String, Int32, OperationContent[])
Simulate an operation
Declaration
public Task<T> PostAsync<T>(string chain_id, string branch, int latency, params OperationContent[] contents)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | chain_id | Chain id |
| System.String | branch | Branch |
| System.Int32 | latency | Latency |
| OperationContent[] | contents | List of operation contents |
Returns
| Type | Description |
|---|---|
| Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the object to deserialize to |