Class TypeCheckCodeQuery
Rpc query to access type checking
Inherited Members
Namespace: Netezos.Rpc.Queries.Post
Assembly: Netezos.dll
Syntax
public class TypeCheckCodeQuery : RpcMethod
Methods
| Improve this Doc View SourcePostAsync(Object, Nullable<Int64>)
Typecheck a piece of code in the current context and returns the type map
Declaration
public Task<dynamic> PostAsync(object program, long? gas = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | program | Program michelson expression |
System.Nullable<System.Int64> | gas | Gas limit (optional) |
Returns
Type | Description |
---|---|
Task<System.Object> |
PostAsync<T>(Object, Nullable<Int64>)
Typecheck a piece of code in the current context and returns the type map
Declaration
public Task<T> PostAsync<T>(object program, long? gas = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | program | Program michelson expression |
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 |