Class InjectOperationQuery
Rpc query to access operations injection
Inherited Members
Namespace: Netmavryk.Rpc.Queries.Post
Assembly: Netmavryk.dll
Syntax
public class InjectOperationQuery : RpcMethod
Methods
| Improve this Doc View SourcePostAsync(IEnumerable<Byte>, Boolean, Chain)
Injects an operation into the node and returns the ID of the operation
Declaration
public Task<dynamic> PostAsync(IEnumerable<byte> data, bool async = false, Chain chain = Chain.Main)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<System.Byte> | data | Signed operation bytes |
| System.Boolean | async | Async (optional) |
| Chain | chain | Chain (optional) |
Returns
| Type | Description |
|---|---|
| Task<System.Object> |
PostAsync(Byte[], Boolean, Chain)
Injects an operation into the node and returns the ID of the operation
Declaration
public Task<dynamic> PostAsync(byte[] data, bool async = false, Chain chain = Chain.Main)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | data | Signed operation bytes |
| System.Boolean | async | Async (optional) |
| Chain | chain | Chain (optional) |
Returns
| Type | Description |
|---|---|
| Task<System.Object> |
PostAsync(String, Boolean, Chain)
Injects an operation into the node and returns the ID of the operation
Declaration
public Task<dynamic> PostAsync(string data, bool async = false, Chain chain = Chain.Main)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | data | Signed operation hex bytes |
| System.Boolean | async | Async (optional) |
| Chain | chain | Chain (optional) |
Returns
| Type | Description |
|---|---|
| Task<System.Object> |
PostAsync<T>(IEnumerable<Byte>, Boolean, Chain)
Injects an operation into the node and returns the ID of the operation
Declaration
public Task<T> PostAsync<T>(IEnumerable<byte> data, bool async = false, Chain chain = Chain.Main)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<System.Byte> | data | Signed operation bytes |
| System.Boolean | async | Async (optional) |
| Chain | chain | Chain (optional) |
Returns
| Type | Description |
|---|---|
| Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the object to deserialize to |
PostAsync<T>(Byte[], Boolean, Chain)
Injects an operation into the node and returns the ID of the operation
Declaration
public Task<T> PostAsync<T>(byte[] data, bool async = false, Chain chain = Chain.Main)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | data | Signed operation bytes |
| System.Boolean | async | Async (optional) |
| Chain | chain | Chain (optional) |
Returns
| Type | Description |
|---|---|
| Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the object to deserialize to |
PostAsync<T>(String, Boolean, Chain)
Injects an operation into the node and returns the ID of the operation
Declaration
public Task<T> PostAsync<T>(string data, bool async = false, Chain chain = Chain.Main)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | data | Signed operation hex bytes |
| System.Boolean | async | Async (optional) |
| Chain | chain | Chain (optional) |
Returns
| Type | Description |
|---|---|
| Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the object to deserialize to |