public NeoApiContractService(IClient client) : base(client) { GetContractState = new NeoGetContractState(client); GetStorage = new NeoGetStorage(client); Invoke = new NeoInvoke(client); InvokeFunction = new NeoInvokeFunction(client); InvokeScript = new NeoInvokeScript(client); }
public override async Task <Invoke> ExecuteAsync(IClient client) { var invoke = new NeoInvoke(client); var parametersList = new List <InvokeParameter> { new InvokeParameter { Type = "String", Value = "name" }, new InvokeParameter { Type = "Boolean", Value = "false" } }; return(await invoke.SendRequestAsync("dc675afc61a7c0f7b3d2682bf6e1d8ed865a0e5f", parametersList)); }