| Modifier and Type | Field and Description |
|---|---|
protected Credentials |
credentials |
static java.math.BigInteger |
GAS_PRICE |
protected java.math.BigInteger |
gasLimit |
protected java.math.BigInteger |
gasPrice |
protected Web3j |
web3j |
| Modifier | Constructor and Description |
|---|---|
protected |
ManagedTransaction(Web3j web3j,
Credentials credentials,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit) |
| Modifier and Type | Method and Description |
|---|---|
int |
getAttempts() |
protected java.math.BigInteger |
getGasPrice() |
protected java.math.BigInteger |
getNonce(java.lang.String address) |
int |
getSleepDuration() |
void |
setAttempts(int attempts) |
void |
setSleepDuration(int sleepDuration) |
protected TransactionReceipt |
signAndSend(RawTransaction rawTransaction) |
public static final java.math.BigInteger GAS_PRICE
protected Web3j web3j
protected Credentials credentials
protected java.math.BigInteger gasPrice
protected java.math.BigInteger gasLimit
protected ManagedTransaction(Web3j web3j, Credentials credentials, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit)
public int getSleepDuration()
public void setSleepDuration(int sleepDuration)
public int getAttempts()
public void setAttempts(int attempts)
protected TransactionReceipt signAndSend(RawTransaction rawTransaction) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, TransactionTimeoutException
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionTransactionTimeoutExceptionprotected java.math.BigInteger getNonce(java.lang.String address)
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionprotected java.math.BigInteger getGasPrice()
throws java.lang.InterruptedException,
java.util.concurrent.ExecutionException
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionException