Updated on 2026-08-14
This commit is contained in:
parent
6b95243f9a
commit
9bb0c2ec48
3 changed files with 24 additions and 1 deletions
|
|
@ -33,6 +33,18 @@ interface TransactionManager {
|
|||
derivationPath: String?,
|
||||
): SendTxResult
|
||||
|
||||
/**
|
||||
* Get fee
|
||||
*
|
||||
* @param networkId network id of blockchain
|
||||
* @param amountToSend amount
|
||||
* @param currencyToSend currency to send in tx
|
||||
* @param destinationAddress address to send tx
|
||||
* @param increaseBy percents in format 125 = 25%
|
||||
* @param data data for tx
|
||||
* @param derivationPath derivation path
|
||||
* @return
|
||||
*/
|
||||
@Suppress("LongParameterList")
|
||||
@Throws(IllegalStateException::class)
|
||||
suspend fun getFee(
|
||||
|
|
@ -40,6 +52,7 @@ interface TransactionManager {
|
|||
amountToSend: BigDecimal,
|
||||
currencyToSend: Currency,
|
||||
destinationAddress: String,
|
||||
increaseBy: Int?,
|
||||
data: String?,
|
||||
derivationPath: String?,
|
||||
): ProxyFee
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue