| Modifier and Type | Field and Description |
|---|---|
protected EnsResolver |
ensResolver |
static java.math.BigInteger |
GAS_PRICE |
protected TransactionManager |
transactionManager |
protected Web3j |
web3j |
| Modifier | Constructor and Description |
|---|---|
protected |
ManagedTransaction(Web3j web3j,
TransactionManager transactionManager) |
| Modifier and Type | Method and Description |
|---|---|
java.math.BigInteger |
getGasPrice() |
long |
getSyncThreshold()
This should only be used in case you need to get the
EnsResolver.syncThreshold
parameter, which dictates the threshold in milliseconds since the last processed block
timestamp should be to considered in sync the blockchain. |
protected TransactionReceipt |
send(java.lang.String to,
java.lang.String data,
java.math.BigInteger value,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit) |
void |
setSyncThreshold(long syncThreshold)
This should only be used in case you need to modify the
EnsResolver.syncThreshold
parameter, which dictates the threshold in milliseconds since the last processed block
timestamp should be to considered in sync the blockchain. |
public static final java.math.BigInteger GAS_PRICE
protected Web3j web3j
protected TransactionManager transactionManager
protected EnsResolver ensResolver
protected ManagedTransaction(Web3j web3j, TransactionManager transactionManager)
public long getSyncThreshold()
EnsResolver.syncThreshold
parameter, which dictates the threshold in milliseconds since the last processed block
timestamp should be to considered in sync the blockchain.
It is currently experimental and only used in ENS name resolution, but will probably be made available for read calls in the future.
public void setSyncThreshold(long syncThreshold)
EnsResolver.syncThreshold
parameter, which dictates the threshold in milliseconds since the last processed block
timestamp should be to considered in sync the blockchain.
It is currently experimental and only used in ENS name resolution, but will probably be made available for read calls in the future.
syncThreshold - the sync threshold in millisecondspublic java.math.BigInteger getGasPrice()
throws java.io.IOException
java.io.IOExceptionprotected TransactionReceipt send(java.lang.String to, java.lang.String data, java.math.BigInteger value, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit) throws java.io.IOException, TransactionException
java.io.IOExceptionTransactionException