Package org.web3j.tx.response
Class PollingTransactionReceiptProcessor
java.lang.Object
org.web3j.tx.response.TransactionReceiptProcessor
org.web3j.tx.response.PollingTransactionReceiptProcessor
With each provided transaction hash, poll until we obtain a transaction receipt.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPollingTransactionReceiptProcessor
(Web3j web3j, long sleepDuration, int attempts) -
Method Summary
-
Field Details
-
sleepDuration
protected final long sleepDuration -
attempts
protected final int attempts
-
-
Constructor Details
-
PollingTransactionReceiptProcessor
-
-
Method Details
-
waitForTransactionReceipt
public TransactionReceipt waitForTransactionReceipt(String transactionHash) throws IOException, TransactionException - Specified by:
waitForTransactionReceipt
in classTransactionReceiptProcessor
- Throws:
IOException
TransactionException
-