Esempio n. 1
0
        public Task <string> ContractAtQueryAsync(ushort returnValue1, ushort returnValue2, BigInteger returnValue3, BlockParameter blockParameter = null)
        {
            var contractAtFunction = new ContractAtFunction();

            contractAtFunction.ReturnValue1 = returnValue1;
            contractAtFunction.ReturnValue2 = returnValue2;
            contractAtFunction.ReturnValue3 = returnValue3;

            return(ContractHandler.QueryAsync <ContractAtFunction, string>(contractAtFunction, blockParameter));
        }
Esempio n. 2
0
 public Task <string> ContractAtQueryAsync(ContractAtFunction contractAtFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <ContractAtFunction, string>(contractAtFunction, blockParameter));
 }