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 listPendingTSSRequests() async throws -> [TSSRequest]
Future<List<TSSRequest>> listPendingTSSRequests() async
Task {
do {
if let requests = try await sdkInstance?.listPendingTSSRequests() {
for request in requests {
print("\(request)\n")
}
} else {
print("No pending TSS requests found")
}
} catch {
print("Error: \(error)")
}
}
try {
final requests = await sdkInstance?.listPendingTSSRequests();
for (final request in requests) {
print("$request\n");
}
} catch (error) {
print("Error: $error");
}
Response
object[]
The list of pending TSS requests.
Show child attributes
Show child attributes
string
The TSS request ID.
enum<int32>
The status of the TSS request. Possible values include:
100: Unknown.110: Scheduling.120: Initializing.130: Approving.140: Processing.160: Declined.170: Failed.180: Canceled.190: Completed.
object[]
Upon completion of a TSS request, a new list of TSS key share groups is generated.
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.string[]
The reasons for unsuccessful completion of the TSS request. Possible values of
status include:failed: The TSS request has failed.canceled: The TSS request has been canceled.declined: The TSS request has been declined.
