diff --git a/BRWallet.h b/BRWallet.h index f37ec1cbf..f67b4d26d 100644 --- a/BRWallet.h +++ b/BRWallet.h @@ -121,6 +121,10 @@ size_t BRWalletUTXOs(BRWallet *wallet, BRUTXO utxos[], size_t utxosCount); uint64_t BRWalletFeePerKb(BRWallet *wallet); void BRWalletSetFeePerKb(BRWallet *wallet, uint64_t feePerKb); +// returns an unsigned transaction that sends the specified amount from the wallet to the given address +// result must be freed using BRTransactionFree() +BRTransaction *BRWalletCreateTransaction(BRWallet *wallet, uint64_t amount, const char *addr); + // returns an unsigned transaction that sends the specified amount from the wallet to the given address // result must be freed using BRTransactionFree() BRTransaction *BRWalletCreateOpsTransaction(BRWallet *wallet, uint64_t amount, const char *addr, uint64_t opsFee, const char *opsAddr);