WalletRestoreResult

@Serializable
data class WalletRestoreResult(val groupId: String, val walletType: WalletType, val displayName: String, val restoredAt: BigInteger)

Result of a wallet restore operation.

This class is exposed to Flutter via KSP code generation. It contains ONLY non-sensitive metadata - NO keyshares or DKG data.

Note: Address is NOT stored here. Callers should derive it on-demand via BlockchainSdkService.getAddress(asset, groupId) to support multiple chain families.

Constructors

Link copied to clipboard
constructor(groupId: String, walletType: WalletType, displayName: String, restoredAt: BigInteger)

Properties

Link copied to clipboard

User-provided wallet name

Link copied to clipboard

The MPC group identifier (opaque string)

Link copied to clipboard
@Serializable(with = BigIntegerSerializer::class)
val restoredAt: BigInteger

Timestamp (milliseconds since epoch) when the wallet was restored

Link copied to clipboard

Whether this is a 2-of-2 or 2-of-3 wallet