Class TypeCheckDataQuery
Rpc query to access type checking
Inherited Members
Namespace: Netezos.Rpc.Queries.Post
Assembly: Netezos.dll
Syntax
public class TypeCheckDataQuery : RpcMethod
Methods
| Improve this Doc View SourcePostAsync(Object, Object, Nullable<Int64>)
Checks that some data expression is well formed and of a given type in the current context and returns the consumed gas
Declaration
public Task<dynamic> PostAsync(object data, object type, long? gas = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | data | Data expression |
System.Object | type | Data expression type |
System.Nullable<System.Int64> | gas | Gas limit (optional) |
Returns
Type | Description |
---|---|
Task<System.Object> |
PostAsync<T>(Object, Object, Nullable<Int64>)
Checks that some data expression is well formed and of a given type in the current context and returns the consumed gas
Declaration
public Task<T> PostAsync<T>(object data, object type, long? gas = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | data | Data expression |
System.Object | type | Data expression type |
System.Nullable<System.Int64> | gas | Gas limit (optional) |
Returns
Type | Description |
---|---|
Task<T> |
Type Parameters
Name | Description |
---|---|
T | Type of the object to deserialize to |