Transfer extends ManagedTransaction { public static RemoteCall<TransactionReceipt> sendFunds( final Web3j web3j, final Credentials credentials, final String toAddress, final BigDecimal value, final Convert.Unit unit) throws InterruptedException, IOException, TransactionException { final TransactionManager transactionManager = new RawTransactionManager(web3j, credentials); return new RemoteCall<TransactionReceipt>(new Callable<TransactionReceipt>() { @Override public TransactionReceipt call() throws Exception { return new Transfer(web3j, transactionManager).send(toAddress, value, unit); } }); } Transfer(Web3j web3j, TransactionManager transactionManager); static RemoteCall<TransactionReceipt> sendFunds(
            final Web3j web3j, final Credentials credentials,
            final String toAddress, final BigDecimal value, final Convert.Unit unit); RemoteCall<TransactionReceipt> sendFunds(
            final String toAddress, final BigDecimal value, final Convert.Unit unit); RemoteCall<TransactionReceipt> sendFunds(
            final String toAddress, final BigDecimal value, final Convert.Unit unit,
            final BigInteger gasPrice, final BigInteger gasLimit); static final BigInteger GAS_LIMIT; }
@Test public void testSendFunds() throws Exception { assertThat(Transfer.sendFunds(web3j, SampleKeys.CREDENTIALS, ADDRESS, BigDecimal.TEN, Convert.Unit.ETHER).send(), is(transactionReceipt)); }