> For the complete documentation index, see [llms.txt](https://docs.catalyx.solutions/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.catalyx.solutions/catalyx-blockchain-manager/canton-network/version-2.0/support-and-resources/openapi-reference/wallet-gateway.md). Agents can also search and read this documentation through its [MCP server](https://docs.catalyx.solutions/~gitbook/mcp).

# Wallet Gateway

Wallet Gateway wallet creation and listing

## List wallets

> Lists wallets known to the validator's Wallet Gateway

```json
{"openapi":"3.1.0","info":{"title":"Catalyx Canton API 2.0","version":"v1"},"tags":[{"name":"Wallet Gateway","description":"Wallet Gateway wallet creation and listing"}],"servers":[{"url":"/","description":"Current server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"ListWalletsResponse":{"type":"object","properties":{"wallets":{"type":"array","items":{"$ref":"#/components/schemas/Wallet"}}}},"Wallet":{"type":"object","properties":{"partyId":{"type":"string"},"hint":{"type":"string"},"publicKey":{"type":"string"},"namespace":{"type":"string"},"networkId":{"type":"string"},"signingProviderId":{"type":"string"},"status":{"type":"string","description":"e.g. allocated, initialized, removed, disabled"},"primary":{"type":"boolean"},"disabled":{"type":"boolean"},"userId":{"type":"string"},"rights":{"type":"array","items":{"type":"string"}},"externalTxId":{"type":"string","description":"Set only for wallets held by an external signing provider (Dfns, BitGo)"},"topologyTransactions":{"type":"string","description":"Set only alongside externalTxId"},"reason":{"type":"string","description":"Set only when status is initialized/removed/disabled"}}},"ProblemDetail":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer","format":"int32"},"detail":{"type":"string"},"instance":{"type":"string","format":"uri"},"properties":{"type":"object","additionalProperties":{}}}}}},"paths":{"/api/v1/validators/{name}/wallet-gateway/wallets":{"get":{"tags":["Wallet Gateway"],"summary":"List wallets","description":"Lists wallets known to the validator's Wallet Gateway","operationId":"listWallets","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListWalletsResponse"}}}},"400":{"description":"The request was invalid.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"401":{"description":"The bearer token is missing or invalid.","headers":{"WWW-Authenticate":{"schema":{"type":"string"}}}},"404":{"description":"The requested resource does not exist","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"405":{"description":"The HTTP method is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"406":{"description":"None of the media types in the Accept header can be produced.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"The request conflicts with the resource's current state.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"413":{"description":"The uploaded file exceeds the maximum allowed size.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"415":{"description":"The request Content-Type is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"502":{"description":"An upstream call (Ledger/Admin/Scan/Validator/Wallet Gateway/CPM registry/Kubernetes) failed.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}}}}}}}
```

## Create wallet

> Creates a new wallet via the validator's Wallet Gateway

```json
{"openapi":"3.1.0","info":{"title":"Catalyx Canton API 2.0","version":"v1"},"tags":[{"name":"Wallet Gateway","description":"Wallet Gateway wallet creation and listing"}],"servers":[{"url":"/","description":"Current server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"CreateWalletRequest":{"type":"object","properties":{"partyHint":{"type":"string","maxLength":64,"minLength":2,"pattern":"^[a-zA-Z0-9_-]+$"},"signingProviderId":{"type":"string","minLength":1},"primary":{"type":"boolean"},"vaultName":{"type":"string"}},"required":["partyHint","signingProviderId"]},"CreateWalletResponse":{"type":"object","properties":{"wallet":{"$ref":"#/components/schemas/Wallet"}}},"Wallet":{"type":"object","properties":{"partyId":{"type":"string"},"hint":{"type":"string"},"publicKey":{"type":"string"},"namespace":{"type":"string"},"networkId":{"type":"string"},"signingProviderId":{"type":"string"},"status":{"type":"string","description":"e.g. allocated, initialized, removed, disabled"},"primary":{"type":"boolean"},"disabled":{"type":"boolean"},"userId":{"type":"string"},"rights":{"type":"array","items":{"type":"string"}},"externalTxId":{"type":"string","description":"Set only for wallets held by an external signing provider (Dfns, BitGo)"},"topologyTransactions":{"type":"string","description":"Set only alongside externalTxId"},"reason":{"type":"string","description":"Set only when status is initialized/removed/disabled"}}},"ProblemDetail":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer","format":"int32"},"detail":{"type":"string"},"instance":{"type":"string","format":"uri"},"properties":{"type":"object","additionalProperties":{}}}}}},"paths":{"/api/v1/validators/{name}/wallet-gateway/wallets":{"post":{"tags":["Wallet Gateway"],"summary":"Create wallet","description":"Creates a new wallet via the validator's Wallet Gateway","operationId":"createWallet","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWalletRequest"}}},"required":true},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWalletResponse"}}}},"400":{"description":"The request was invalid.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"401":{"description":"The bearer token is missing or invalid.","headers":{"WWW-Authenticate":{"schema":{"type":"string"}}}},"404":{"description":"The requested resource does not exist","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"405":{"description":"The HTTP method is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"406":{"description":"None of the media types in the Accept header can be produced.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"The request conflicts with the resource's current state.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"413":{"description":"The uploaded file exceeds the maximum allowed size.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"415":{"description":"The request Content-Type is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"502":{"description":"An upstream call (Ledger/Admin/Scan/Validator/Wallet Gateway/CPM registry/Kubernetes) failed.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}}}}}}}
```

## Allocate party

> Allocates a party that has been initialized.

```json
{"openapi":"3.1.0","info":{"title":"Catalyx Canton API 2.0","version":"v1"},"tags":[{"name":"Wallet Gateway","description":"Wallet Gateway wallet creation and listing"}],"servers":[{"url":"/","description":"Current server"}],"security":[{"bearerAuth":[]}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"JWT"}},"schemas":{"CreateWalletResponse":{"type":"object","properties":{"wallet":{"$ref":"#/components/schemas/Wallet"}}},"Wallet":{"type":"object","properties":{"partyId":{"type":"string"},"hint":{"type":"string"},"publicKey":{"type":"string"},"namespace":{"type":"string"},"networkId":{"type":"string"},"signingProviderId":{"type":"string"},"status":{"type":"string","description":"e.g. allocated, initialized, removed, disabled"},"primary":{"type":"boolean"},"disabled":{"type":"boolean"},"userId":{"type":"string"},"rights":{"type":"array","items":{"type":"string"}},"externalTxId":{"type":"string","description":"Set only for wallets held by an external signing provider (Dfns, BitGo)"},"topologyTransactions":{"type":"string","description":"Set only alongside externalTxId"},"reason":{"type":"string","description":"Set only when status is initialized/removed/disabled"}}},"ProblemDetail":{"type":"object","properties":{"type":{"type":"string","format":"uri"},"title":{"type":"string"},"status":{"type":"integer","format":"int32"},"detail":{"type":"string"},"instance":{"type":"string","format":"uri"},"properties":{"type":"object","additionalProperties":{}}}}}},"paths":{"/api/v1/validators/{name}/wallet-gateway/wallets/allocate":{"post":{"tags":["Wallet Gateway"],"summary":"Allocate party","description":"Allocates a party that has been initialized.","operationId":"allocateWallet","parameters":[{"name":"name","in":"path","required":true,"schema":{"type":"string"}},{"name":"partyId","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWalletResponse"}}}},"400":{"description":"The request was invalid.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"401":{"description":"The bearer token is missing or invalid.","headers":{"WWW-Authenticate":{"schema":{"type":"string"}}}},"404":{"description":"The requested resource does not exist","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"405":{"description":"The HTTP method is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"406":{"description":"None of the media types in the Accept header can be produced.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"409":{"description":"The request conflicts with the resource's current state.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"413":{"description":"The uploaded file exceeds the maximum allowed size.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"415":{"description":"The request Content-Type is not supported by this endpoint.","content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}},"502":{"description":"An upstream call (Ledger/Admin/Scan/Validator/Wallet Gateway/CPM registry/Kubernetes) failed.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.catalyx.solutions/catalyx-blockchain-manager/canton-network/version-2.0/support-and-resources/openapi-reference/wallet-gateway.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
