Updated on 2026-08-14

This commit is contained in:
Tangem 2025-05-14 15:33:20 +04:00
parent 59117bf97c
commit 1b33e6b02e
5 changed files with 389 additions and 1 deletions

View file

@ -0,0 +1,24 @@
package com.tangem.domain.networks.repository
import com.tangem.domain.tokens.model.CryptoCurrencyAddress
import com.tangem.domain.tokens.model.Network
import com.tangem.domain.wallets.models.UserWalletId
/**
* Repository for working with pending transactions
*
[REDACTED_AUTHOR]
*/
interface NetworksRepository {
/** Fetches pending transactions for given [network] in selected [userWalletId] */
suspend fun fetchPendingTransactions(userWalletId: UserWalletId, network: Network)
/**
* Returns addresses and crypto currency
*
* @param userWalletId the unique identifier of the user wallet
* @param network network
*/
suspend fun getNetworkAddresses(userWalletId: UserWalletId, network: Network): List<CryptoCurrencyAddress>
}