public class ReadonlyTransactionManager extends TransactionManager
DEFAULT_POLLING_ATTEMPTS_PER_TX_HASH, DEFAULT_POLLING_FREQUENCY, REVERT_ERR_STR
Constructor and Description |
---|
ReadonlyTransactionManager(Web3j web3j,
java.lang.String fromAddress) |
Modifier and Type | Method and Description |
---|---|
EthGetCode |
getCode(java.lang.String contractAddress,
DefaultBlockParameter defaultBlockParameter) |
java.lang.String |
sendCall(java.lang.String to,
java.lang.String data,
DefaultBlockParameter defaultBlockParameter) |
EthSendTransaction |
sendEIP1559Transaction(long chainId,
java.math.BigInteger maxPriorityFeePerGas,
java.math.BigInteger maxFeePerGas,
java.math.BigInteger gasLimit,
java.lang.String to,
java.lang.String data,
java.math.BigInteger value,
boolean constructor) |
EthSendTransaction |
sendTransaction(java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String to,
java.lang.String data,
java.math.BigInteger value,
boolean constructor) |
executeTransaction, executeTransaction, executeTransactionEIP1559, executeTransactionEIP1559, getFromAddress, processResponse, sendEIP1559Transaction, sendTransaction
public ReadonlyTransactionManager(Web3j web3j, java.lang.String fromAddress)
public EthSendTransaction sendTransaction(java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String to, java.lang.String data, java.math.BigInteger value, boolean constructor) throws java.io.IOException
sendTransaction
in class TransactionManager
java.io.IOException
public EthSendTransaction sendEIP1559Transaction(long chainId, java.math.BigInteger maxPriorityFeePerGas, java.math.BigInteger maxFeePerGas, java.math.BigInteger gasLimit, java.lang.String to, java.lang.String data, java.math.BigInteger value, boolean constructor) throws java.io.IOException
sendEIP1559Transaction
in class TransactionManager
java.io.IOException
public java.lang.String sendCall(java.lang.String to, java.lang.String data, DefaultBlockParameter defaultBlockParameter) throws java.io.IOException
sendCall
in class TransactionManager
java.io.IOException
public EthGetCode getCode(java.lang.String contractAddress, DefaultBlockParameter defaultBlockParameter) throws java.io.IOException
getCode
in class TransactionManager
java.io.IOException