public class Transfer extends ManagedTransaction
| Modifier and Type | Field and Description |
|---|---|
static java.math.BigInteger |
GAS_LIMIT |
credentials, GAS_PRICE, gasLimit, gasPrice, web3j| Modifier and Type | Method and Description |
|---|---|
static TransactionReceipt |
sendFunds(Web3j web3j,
Credentials credentials,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String toAddress,
java.math.BigDecimal value,
Convert.Unit unit) |
static TransactionReceipt |
sendFunds(Web3j web3j,
Credentials credentials,
java.lang.String toAddress,
java.math.BigDecimal value,
Convert.Unit unit) |
java.util.concurrent.Future<TransactionReceipt> |
sendFundsAsync(java.lang.String toAddress,
java.math.BigDecimal value,
Convert.Unit unit)
Execute the provided function as a transaction asynchronously.
|
static java.util.concurrent.Future<TransactionReceipt> |
sendFundsAsync(Web3j web3j,
Credentials credentials,
java.math.BigInteger gasPrice,
java.math.BigInteger gasLimit,
java.lang.String toAddress,
java.math.BigDecimal value,
Convert.Unit unit) |
static java.util.concurrent.Future<TransactionReceipt> |
sendFundsAsync(Web3j web3j,
Credentials credentials,
java.lang.String toAddress,
java.math.BigDecimal value,
Convert.Unit unit) |
getAttempts, getGasPrice, getNonce, getSleepDuration, setAttempts, setSleepDuration, signAndSendpublic java.util.concurrent.Future<TransactionReceipt> sendFundsAsync(java.lang.String toAddress, java.math.BigDecimal value, Convert.Unit unit)
toAddress - destination addressvalue - amount to sendunit - of specified sendFuture containing executing transactionpublic static TransactionReceipt sendFunds(Web3j web3j, Credentials credentials, java.lang.String toAddress, java.math.BigDecimal value, Convert.Unit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, TransactionTimeoutException
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionTransactionTimeoutExceptionpublic static TransactionReceipt sendFunds(Web3j web3j, Credentials credentials, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String toAddress, java.math.BigDecimal value, Convert.Unit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, TransactionTimeoutException
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionTransactionTimeoutExceptionpublic static java.util.concurrent.Future<TransactionReceipt> sendFundsAsync(Web3j web3j, Credentials credentials, java.lang.String toAddress, java.math.BigDecimal value, Convert.Unit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, TransactionTimeoutException
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionTransactionTimeoutExceptionpublic static java.util.concurrent.Future<TransactionReceipt> sendFundsAsync(Web3j web3j, Credentials credentials, java.math.BigInteger gasPrice, java.math.BigInteger gasLimit, java.lang.String toAddress, java.math.BigDecimal value, Convert.Unit unit) throws java.lang.InterruptedException, java.util.concurrent.ExecutionException, TransactionTimeoutException
java.lang.InterruptedExceptionjava.util.concurrent.ExecutionExceptionTransactionTimeoutException