예제 #1
0
        public Task <string> GetContractQueryAsync(byte[] name, BlockParameter blockParameter = null)
        {
            var getContractFunction = new GetContractFunction();

            getContractFunction.Name = name;

            return(ContractHandler.QueryAsync <GetContractFunction, string>(getContractFunction, blockParameter));
        }
예제 #2
0
 public Task <string> GetContractQueryAsync(GetContractFunction getContractFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <GetContractFunction, string>(getContractFunction, blockParameter));
 }