WalletMetadataList
public class WalletMetadataList : Codable, Hashable
Container to store groups of WalletMetadata based on type
-
Declaration
Swift
public var socialWallets: [WalletMetadata]
-
Declaration
Swift
public var hdWallets: [WalletMetadata]
-
Declaration
Swift
public var linearWallets: [WalletMetadata]
-
Declaration
Swift
public var ledgerWallets: [WalletMetadata]
-
Declaration
Swift
public var watchWallets: [WalletMetadata]
-
Declaration
Swift
public init(socialWallets: [WalletMetadata], hdWallets: [WalletMetadata], linearWallets: [WalletMetadata], ledgerWallets: [WalletMetadata], watchWallets: [WalletMetadata])
-
Declaration
Swift
public func isEmpty() -> Bool
-
Declaration
Swift
public func firstMetadata() -> WalletMetadata?
-
Declaration
Swift
public func metadata(forAddress address: String) -> WalletMetadata?
-
Declaration
Swift
public func parentMetadata(forChildAddress address: String) -> WalletMetadata?
-
Declaration
Swift
public func update(address: String, with newMetadata: WalletMetadata) -> Bool
-
Declaration
Swift
public func set(mainnetDomain: TezosDomainsReverseRecord?, ghostnetDomain: TezosDomainsReverseRecord?, forAddress address: String) -> Bool
-
Declaration
Swift
public func set(nickname: String?, forAddress address: String) -> Bool
-
Declaration
Swift
public func set(hdWalletGroupName: String, forAddress address: String) -> Bool
-
Declaration
Swift
public func count() -> Int
-
Declaration
Swift
public func addresses() -> [String]
-
Declaration
Swift
public func allMetadata(onlySeedBased: Bool = false) -> [WalletMetadata]
-
Declaration
Swift
public static func == (lhs: WalletMetadataList, rhs: WalletMetadataList) -> Bool
-
Declaration
Swift
public func hash(into hasher: inout Hasher)