Updated on 2026-08-14
This commit is contained in:
parent
dc383831d3
commit
6b95243f9a
4 changed files with 36 additions and 14 deletions
|
|
@ -12,7 +12,14 @@ interface DerivationManager {
|
|||
suspend fun deriveMissingBlockchains(currency: Currency): Boolean
|
||||
|
||||
/**
|
||||
* Checks that given [networkId] has derivations
|
||||
* Returns derivationPath or null for blockchain with given networkId
|
||||
*
|
||||
* @param networkId
|
||||
*/
|
||||
fun hasDerivation(networkId: String): Boolean
|
||||
fun getDerivationPathForBlockchain(networkId: String): String?
|
||||
|
||||
/**
|
||||
* Checks that given [networkId] has derivations for [derivationPath]
|
||||
*/
|
||||
fun hasDerivation(networkId: String, derivationPath: String): Boolean
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue