# 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](https://sdk.venly.io/sdk-reference/c-sdk-v3/object-references/wallet/queries/vyquery_getwallet) | Query to filter the operation results                       |

**Returns**

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