Skip to main content
public func getTSSKeyShareGroups(tssKeyShareGroupIDs: [String]) throws -> [TSSKeyShareGroup]
let tssKeyShareGroupIDs = ["gjRIvhmnDfpcGrzjOABE"]

do {
    if let groups = try sdkInstance?.getTSSKeyShareGroups(tssKeyShareGroupIDs: tssKeyShareGroupIDs) {
        for group in groups {
            print("\(group)\n")
        }
    } else {
        print("No TSS key share groups found")
    }
} catch {
    print("Error: \(error)")
}

Parameters

tssKeyShareGroupIDs
string[]
The list of IDs for the TSS key share groups to be retrieved.

Response

tssKeyShareGroups
object[]
The list of retrieved TSS key share groups.