Skip to content

Commit

Permalink
re pasted create interface
Browse files Browse the repository at this point in the history
  • Loading branch information
kcw-grunt committed Jan 7, 2024
1 parent ffc219f commit 45105dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BRWallet.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 45105dd

Please sign in to comment.