예제 #1
0
        private static async Task QueryMethod(IClient client, string method, string[] arguments)
        {
            // ContractClient has access to asset endpoints
            var contractClient = new ContractClient(client);

            var result = await contractClient.QueryContractAsync(s_AssemblyId, ContractName, InstanceName, method, arguments);

            Console.WriteLine($"value={result.Value}");
        }