예제 #1
0
        public Task <TransactionReceipt> RawFulfillRandomnessRequestAndWaitForReceiptAsync(byte[] requestId, BigInteger randomness, CancellationTokenSource cancellationToken = null)
        {
            var rawFulfillRandomnessFunction = new RawFulfillRandomnessFunction();

            rawFulfillRandomnessFunction.RequestId  = requestId;
            rawFulfillRandomnessFunction.Randomness = randomness;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(rawFulfillRandomnessFunction, cancellationToken));
        }
예제 #2
0
        public Task <string> RawFulfillRandomnessRequestAsync(byte[] requestId, BigInteger randomness)
        {
            var rawFulfillRandomnessFunction = new RawFulfillRandomnessFunction();

            rawFulfillRandomnessFunction.RequestId  = requestId;
            rawFulfillRandomnessFunction.Randomness = randomness;

            return(ContractHandler.SendRequestAsync(rawFulfillRandomnessFunction));
        }
예제 #3
0
 public Task <TransactionReceipt> RawFulfillRandomnessRequestAndWaitForReceiptAsync(RawFulfillRandomnessFunction rawFulfillRandomnessFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(rawFulfillRandomnessFunction, cancellationToken));
 }
예제 #4
0
 public Task <string> RawFulfillRandomnessRequestAsync(RawFulfillRandomnessFunction rawFulfillRandomnessFunction)
 {
     return(ContractHandler.SendRequestAsync(rawFulfillRandomnessFunction));
 }