Try Cobo WaaS Skill in your AI coding assistant (Claude Code, Cursor, etc.). Describe your needs in natural language to auto-generate production-ready SDK code and debug faster đ
public func getTSSKeyShareGroups(tssKeyShareGroupIDs: [String]) throws -> [TSSKeyShareGroup]
Future<List<TSSKeyShareGroup>> getTSSKeyShareGroups(List<String> tssKeyShareGroupIDs) async
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)")
}
final List<String> tssKeyShareGroupIDs = ["gjRIvhmnDfpcGrzjOABE"];
try {
final groups = await sdkInstance?.getTSSKeyShareGroups(tssKeyShareGroupIDs: tssKeyShareGroupIDs);
for (final group in groups) {
print("$group\n");
}
} catch (error) {
print("Error: $error");
}
Parameters
string[]
The list of IDs for the TSS key share groups to be retrieved.
Response
object[]
The list of retrieved TSS key share groups.
Show child attributes
Show child attributes
string
The unique ID of the TSS key share group.
For example:
gjRIvhmnDfpcGrzjOABEint64
The creation time of the TSS key share group in Unix timestamp format, measured in milliseconds.
enum<int32>
The type of the TSS key share group. Possible values include:
1: The type of the TSS key share group is ECDSA.2: The type of the TSS key share group is EdDSA.
string
The root extended public key of the TSS key share group.
For example:
xpub661MyMwAqRbcGqCytYJh7eqzqhoEDYVH7Hm1T4B4F4x6ZQ42dv1zhYptDVm5aiPWgWqsU9mtRcY3fQFb9HBZQT2qqMCdLNXHxcjTgCubGbCstring
The chain code of the TSS key share group.
For example:
0xe5ee24523b97e508f6f665da4212e0e3e2382d765282e4eea6e3ac4fce759e87string
The supported signature curve of the TSS key share group. Possible values include:
secp256k1: The supported signature curve of the TSS key share group is secp256k1.ed25519: The supported signature curve of the TSS key share group is Ed25519.
int32
The threshold of the TSS key share group.
object[]
The list of participants in the TSS key share group.
Show child attributes
Show child attributes
string
The TSS Node ID of the participant.
For example,
coboJTKRVEWHgmigeE8FB2FDpN6nadUwXkUdsRZbhyFAq8bDV.string
The ID of the private key share.
For example,
137335649290518903947478804490993569412.string
The public key associated with the private key share.
For example,
0x032d1bb15ea11958cbbcf2be4a08909a6d600fa829abbbb140e4eeb9b58bbe2b37.