mirror of
https://github.com/monero-project/monero.git
synced 2026-08-01 08:30:25 -07:00
wallet2_api: implement estimateTransactionFee
This commit is contained in:
@@ -879,6 +879,14 @@ struct Wallet
|
||||
*/
|
||||
virtual void disposeTransaction(PendingTransaction * t) = 0;
|
||||
|
||||
/*!
|
||||
* \brief Estimates transaction fee.
|
||||
* \param destinations Vector consisting of <address, amount> pairs.
|
||||
* \return Estimated fee.
|
||||
*/
|
||||
virtual uint64_t estimateTransactionFee(const std::vector<std::pair<std::string, uint64_t>> &destinations,
|
||||
PendingTransaction::Priority priority) const = 0;
|
||||
|
||||
/*!
|
||||
* \brief exportKeyImages - exports key images to file
|
||||
* \param filename
|
||||
|
||||
Reference in New Issue
Block a user