Class RunCodeQuery
Rpc query to access code running
Inherited Members
Namespace: Netezos.Rpc.Queries.Post
Assembly: Netezos.dll
Syntax
public class RunCodeQuery : RpcMethod
Methods
| Improve this Doc View SourcePostAsync(Object, Object, Object, Int64, Nullable<String>, Nullable<String>, Nullable<Int64>, Nullable<Int32>, Nullable<Int32>)
Runs a piece of code in the current context and returns the storage, operations and big_map data
Declaration
public Task<dynamic> PostAsync(object script, object storage, object input, long amount, string? source = null, string? payer = null, long? gas = null, int? now = null, int? level = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | script | Script (micheline michelson expression) |
System.Object | storage | Storage (micheline michelson expression) |
System.Object | input | Input(micheline michelson expression) |
System.Int64 | amount | Amount |
System.Nullable<System.String> | source | Source (optional) |
System.Nullable<System.String> | payer | Payer (optional) |
System.Nullable<System.Int64> | gas | Gas limit (optional) |
System.Nullable<System.Int32> | now | Now (optional) |
System.Nullable<System.Int32> | level | Level (optional) |
Returns
Type | Description |
---|---|
Task<System.Object> |
PostAsync<T>(Object, Object, Object, Int64, Nullable<String>, Nullable<String>, Nullable<Int64>, Nullable<Int32>, Nullable<Int32>)
Runs a piece of code in the current context and returns the storage, operations and big_map data
Declaration
public Task<T> PostAsync<T>(object script, object storage, object input, long amount, string? source = null, string? payer = null, long? gas = null, int? now = null, int? level = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | script | Script (micheline michelson expression) |
System.Object | storage | Storage (micheline michelson expression) |
System.Object | input | Input(micheline michelson expression) |
System.Int64 | amount | Amount |
System.Nullable<System.String> | source | Source (optional) |
System.Nullable<System.String> | payer | Payer (optional) |
System.Nullable<System.Int64> | gas | Gas limit (optional) |
System.Nullable<System.Int32> | now | Now (optional) |
System.Nullable<System.Int32> | level | Level (optional) |
Returns
Type | Description |
---|---|
Task<T> |
Type Parameters
Name | Description |
---|---|
T | Type of the object to deserialize to |