> For the complete documentation index, see [llms.txt](https://sdk.venly.io/sdk-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.venly.io/sdk-reference/c-sdk-v3/function-references/wallet/wallet/getwallet.md).

# 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 %}
