public Task <TransactionReceipt> SimulateAndRevertRequestAndWaitForReceiptAsync(string targetContract, byte[] calldataPayload, CancellationTokenSource cancellationToken = null)
        {
            var simulateAndRevertFunction = new SimulateAndRevertFunction();

            simulateAndRevertFunction.TargetContract  = targetContract;
            simulateAndRevertFunction.CalldataPayload = calldataPayload;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(simulateAndRevertFunction, cancellationToken));
        }
        public Task <string> SimulateAndRevertRequestAsync(string targetContract, byte[] calldataPayload)
        {
            var simulateAndRevertFunction = new SimulateAndRevertFunction();

            simulateAndRevertFunction.TargetContract  = targetContract;
            simulateAndRevertFunction.CalldataPayload = calldataPayload;

            return(ContractHandler.SendRequestAsync(simulateAndRevertFunction));
        }
 public Task <TransactionReceipt> SimulateAndRevertRequestAndWaitForReceiptAsync(SimulateAndRevertFunction simulateAndRevertFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(simulateAndRevertFunction, cancellationToken));
 }
 public Task <string> SimulateAndRevertRequestAsync(SimulateAndRevertFunction simulateAndRevertFunction)
 {
     return(ContractHandler.SendRequestAsync(simulateAndRevertFunction));
 }