/** * Sends coins to the given address but does not broadcast the resulting pending transaction. */ public BitSendRequest sendCoinsOffline(BitAddress address, Value amount) throws WalletAccountException { return sendCoinsOffline(address, amount, (KeyParameter) null); }
/** * {@link #sendCoinsOffline(BitAddress, Value)} */ public BitSendRequest sendCoinsOffline(BitAddress address, Value amount, @Nullable String password) throws WalletAccountException { KeyParameter key = null; if (password != null) { checkState(isEncrypted()); key = checkNotNull(getKeyCrypter()).deriveKey(password); } return sendCoinsOffline(address, amount, key); }