Copy
public func getTSSKeyShareGroups(tssKeyShareGroupIDs: [String]) throws -> [TSSKeyShareGroup]
Copy
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
The list of IDs for the TSS key share groups to be retrieved.
Response
The list of retrieved TSS key share groups.
Show child attributes
Show child attributes
The unique ID of the TSS key share group.
For example:
gjRIvhmnDfpcGrzjOABE
The creation time of the TSS key share group in Unix timestamp format, measured in milliseconds.
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.
The root extended public key of the TSS key share group.
For example:
xpub661MyMwAqRbcGqCytYJh7eqzqhoEDYVH7Hm1T4B4F4x6ZQ42dv1zhYptDVm5aiPWgWqsU9mtRcY3fQFb9HBZQT2qqMCdLNXHxcjTgCubGbC
The chain code of the TSS key share group.
For example:
0xe5ee24523b97e508f6f665da4212e0e3e2382d765282e4eea6e3ac4fce759e87
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.
The threshold of the TSS key share group.
The list of participants in the TSS key share group.
Show child attributes
Show child attributes
The TSS Node ID of the participant.
For example,
coboJTKRVEWHgmigeE8FB2FDpN6nadUwXkUdsRZbhyFAq8bDV
.The ID of the private key share.
For example,
137335649290518903947478804490993569412
.The public key associated with the private key share.
For example,
0x032d1bb15ea11958cbbcf2be4a08909a6d600fa829abbbb140e4eeb9b58bbe2b37
.