Example #1
0
        public Task <ulong> LastBlockQueryAsync(ushort returnValue1, ushort returnValue2, byte returnValue3, BlockParameter blockParameter = null)
        {
            var lastBlockFunction = new LastBlockFunction();

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

            return(ContractHandler.QueryAsync <LastBlockFunction, ulong>(lastBlockFunction, blockParameter));
        }
Example #2
0
 public Task <ulong> LastBlockQueryAsync(LastBlockFunction lastBlockFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <LastBlockFunction, ulong>(lastBlockFunction, blockParameter));
 }