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)); }
public Task <byte[]> GetDataQueryAsync(GetDataFunction getDataFunction, BlockParameter blockParameter = null) { return(ContractHandler.QueryAsync <GetDataFunction, byte[]>(getDataFunction, blockParameter)); }