Ejemplo n.º 1
0
        public Task <byte[]> CalcHash256QueryAsync(byte[] data, BlockParameter blockParameter = null)
        {
            var calcHash256Function = new CalcHash256Function();

            calcHash256Function.Data = data;

            return(ContractHandler.QueryAsync <CalcHash256Function, byte[]>(calcHash256Function, blockParameter));
        }
Ejemplo n.º 2
0
 public Task <byte[]> CalcHash256QueryAsync(CalcHash256Function calcHash256Function, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <CalcHash256Function, byte[]>(calcHash256Function, blockParameter));
 }