ConnectedWallet

data class ConnectedWallet(val address: String, val walletId: String, val walletName: String)

Information about an externally connected wallet.

Returned by ExternalWalletAdapter.connect and ExternalWalletAdapter.getConnectedWallets to identify which wallet is connected and its signing address.

Example:

val wallet = ConnectedWallet(
address = "GABC123...",
walletId = "freighter",
walletName = "Freighter"
)

Constructors

Link copied to clipboard
constructor(address: String, walletId: String, walletName: String)

Properties

Link copied to clipboard

The Stellar G-address of the connected wallet.

Link copied to clipboard

Unique wallet identifier (e.g., "freighter", "lobstr").

Link copied to clipboard

Human-readable display name for the wallet (e.g., "Freighter", "LOBSTR").