Developers can generate client SDKs in their preferred programming language using the Institutional Vault’s OpenAPI specification to integrate its transaction workflows into their applications.

# Download the OpenAPI Specification  
1. **Access your wallet's API documentation** by navigating to `https://your-wallet-domain.com/swagger.html`  
2. **Download the OpenAPI specification** (openapi.yaml file) from the Swagger UI interface  
3. **Use the specification** to generate client SDKs for your preferred language

# Generate SDKs  
Once you have the OpenAPI specification file, you can generate client SDKs using various tools:

## TypeScript/JavaScript  
```shell
npx openapi-typescript-codegen -i ./openapi.yaml -o ./generated-sdk
```

## Java  
```shell
openapi-generator generate -i ./openapi.yaml -g java -o ./generated-java-sdk
```

## Go  
```shell
oapi-codegen -package client -generate types,client -o generated-go-client.gen.go ./openapi.yaml
```

## Python  
```shell
openapi-generator generate -i ./openapi.yaml -g python -o ./generated-python-sdk
```

## C#  
```shell
openapi-generator generate -i ./openapi.yaml -g csharp -o ./generated-csharp-sdk
```

# Using the Generated SDK  
The generated SDK will include:

- **Type definitions** for all API models  
- **Client classes** for making API calls  
- **Authentication handling** for API key management  
- **Error handling** for common API responses

Example usage with a generated TypeScript SDK:

```typescript
import { WalletConnectAPI } from './generated-sdk';

const api = new WalletConnectAPI({
  baseURL: 'https://your-wallet-domain.com',
  apiKey: 'your-api-key'
});
```

# Additional Resources  
- [OpenAPI Generator Documentation](https://openapi-generator.tech/)  
- [oapi-codegen Documentation](https://github.com/oapi-codegen/oapi-codegen)  
- [OpenAPI Typescript Codegen](https://github.com/ferdikoomen/openapi-typescript-codegen)

# 🗣️We Are Here to Help!  
Please contact us via [email](mailto:support@blockdaemon.com) or support chat if you encounter an issue, bug, or need assistance. Don't forget to include any relevant details about the problem. To request a wallet form and Institutional Vault Approver form, please click [here](/content/support/index.html) or contact [our sales team](/content/get-in-touch/?contact-sales/index.html).

Updated 10 months ago
