# GetWallet

### Description

This endpoint gets a wallet by id.

{% code overflow="wrap" %}

```csharp
public static VyTask<VyWalletDto> GetWallet(string id, VyQuery_GetWallet query = null)
```

{% endcode %}

{% tabs %}
{% tab title="Details" %}
**Parameters**

| id               | string                                                                                              | This is the ID of the wallet who's details you want to get. |
| ---------------- | --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| query (optional) | [VyQuery\_GetWallet](/sdk-reference/c-sdk-v3/object-references/wallet/queries/vyquery_getwallet.md) | Query to filter the operation results                       |

**Returns**

VyTask<[VyWalletDto](/sdk-reference/c-sdk-v3/object-references/wallet/vywalletdto.md)>\
Retrieved the wallet's information successfully.
{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdk.venly.io/sdk-reference/c-sdk-v3/function-references/wallet/wallet/getwallet.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
