getForConnectedWallet

Retrieves credentials for the currently connected wallet.

Returns credentials where the contractId matches the kit's currently connected contract ID. Returns an empty list if no wallet is connected.

Return

List of credentials for the connected wallet (empty if not connected or none found)

Throws

if reading fails

Example:

val walletCredentials = manager.getForConnectedWallet()
println("Found ${walletCredentials.size} credential(s) for current wallet")