Ejemplo n.º 1
0
        public Task <string> GetDataByIdQueryAsync(BigInteger id, BlockParameter blockParameter = null)
        {
            var getDataByIdFunction = new GetDataByIdFunction();

            getDataByIdFunction.Id = id;

            return(ContractHandler.QueryAsync <GetDataByIdFunction, string>(getDataByIdFunction, blockParameter));
        }
Ejemplo n.º 2
0
 public Task <string> GetDataByIdQueryAsync(GetDataByIdFunction getDataByIdFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <GetDataByIdFunction, string>(getDataByIdFunction, blockParameter));
 }