From 45105ddbaad9dd1beca87136483d80b0c870e494 Mon Sep 17 00:00:00 2001 From: kcw-grunt Date: Sun, 7 Jan 2024 18:50:43 -0500 Subject: [PATCH] re pasted create interface --- BRWallet.h | 4 ++++ 1 file changed, 4 insertions(+) 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);