예제 #1
0
        public Task <byte[]> GetDataQueryAsync(byte[] name, string key, BlockParameter blockParameter = null)
        {
            var getDataFunction = new GetDataFunction();

            getDataFunction.Name = name;
            getDataFunction.Key  = key;

            return(ContractHandler.QueryAsync <GetDataFunction, byte[]>(getDataFunction, blockParameter));
        }
예제 #2
0
 public Task <byte[]> GetDataQueryAsync(GetDataFunction getDataFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <GetDataFunction, byte[]>(getDataFunction, blockParameter));
 }