Class ForgeOperationsQuery
Rpc query to access operations forging
Inherited Members
Namespace: Netmavryk.Rpc.Queries.Post
Assembly: Netmavryk.dll
Syntax
public class ForgeOperationsQuery : RpcMethod
Methods
| Improve this Doc View SourcePostAsync(String, List<Object>)
Forges an operation and returns operation bytes which can be signed
Declaration
public Task<dynamic> PostAsync(string branch, List<object> contents)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | branch | Branch |
| List<System.Object> | contents | List of operation contents |
Returns
| Type | Description |
|---|---|
| Task<System.Object> |
PostAsync<T>(String, List<Object>)
Forges an operation and returns operation bytes which can be signed
Declaration
public Task<T> PostAsync<T>(string branch, List<object> contents)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | branch | Branch |
| List<System.Object> | contents | List of operation contents |
Returns
| Type | Description |
|---|---|
| Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the object to deserialize to |