> ## Documentation Index
> Fetch the complete documentation index at: https://cobo.com/developers/llms.txt
> Use this file to discover all available pages before exploring further.

# Create UCWRecoverKey class

> This operation creates an instance of the UCWRecoverKey class.

<Tip>
  Try [Cobo WaaS Skill](/v2/guides/overview/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 🚀
</Tip>

<Info>The UCWRecoverKey class allows you to import multiple recovery key shares to recover the private keys.</Info>

<CodeGroup>
  ```Swift iOS theme={null}
  public init(tssKeyShareGroupID: String)
  ```

  ```Dart Flutter theme={null}
  UCWRecoverKey({required this.tssKeyShareGroupID});
  ```
</CodeGroup>

<RequestExample>
  ```Swift iOS theme={null}
  let tssKeyShareGroupID = "gjRIvhmnDfpcGrzjOABE"
  var recoverKey: UCWRecoverKey?

  do {
      recoverKey = try UCWRecoverKey(tssKeyShareGroupID: tssKeyShareGroupID)
  } catch {
      print("Error: \(error)")
  }
  ```

  ```Dart Flutter theme={null}
  const String tssKeyShareGroupID = "gjRIvhmnDfpcGrzjOABE";
  UCWRecoverKey? recoverKey;

  try {
      recoverKey = UCWRecoverKey(tssKeyShareGroupID: tssKeyShareGroupID);
  } catch (error) {
      print("Error: $error");
  }
  ```
</RequestExample>

## Parameters

<ParamField path="tssKeyShareGroupID" type="string">
  The ID of the TSS key share group used to recover the private key.
</ParamField>
