Class PackDataQuery
Rpc query to access data packing
Inherited Members
Namespace: Netmavryk.Rpc.Queries.Post
Assembly: Netmavryk.dll
Syntax
public class PackDataQuery : RpcMethod
Methods
| Improve this Doc View SourcePostAsync(Object, Object, Nullable<Int64>)
Computes the serialized version of some data expression using the same algorithm as script instruction PACK
Declaration
public Task<dynamic> PostAsync(object data, object type, long? gas = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | data | Micheline michelson expression |
| System.Object | type | Type of the data (micheline michelson expression) |
| System.Nullable<System.Int64> | gas | Gas limit |
Returns
| Type | Description |
|---|---|
| Task<System.Object> |
PostAsync<T>(Object, Object, Nullable<Int64>)
Computes the serialized version of some data expression using the same algorithm as script instruction PACK
Declaration
public Task<T> PostAsync<T>(object data, object type, long? gas = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | data | Micheline michelson expression |
| System.Object | type | Type of the data (micheline michelson expression) |
| System.Nullable<System.Int64> | gas | Gas limit |
Returns
| Type | Description |
|---|---|
| Task<T> |
Type Parameters
| Name | Description |
|---|---|
| T | Type of the object to deserialize to |