OZConnectedWallet
public struct OZConnectedWallet : Sendable, Equatable, Hashable
Information about an externally connected wallet.
Returned by OZExternalWalletAdapter.connect and
OZExternalWalletAdapter.getConnectedWallets to identify which wallet is connected
and its signing address.
Example:
let wallet = OZConnectedWallet(
address: "GABC123...",
walletId: "freighter",
walletName: "Freighter"
)
-
The Stellar G-address of the connected wallet.
Declaration
Swift
public let address: String -
Unique wallet identifier (for example
"freighter","lobstr").Declaration
Swift
public let walletId: String -
Human-readable display name for the wallet (for example
"Freighter","LOBSTR").Declaration
Swift
public let walletName: String -
Initializes a new
OZConnectedWallet.Declaration
Swift
public init(address: String, walletId: String, walletName: String)
View on GitHub
Install in Dash