# getPublicKey

### Description

This endpoint retrieves the Venly public key.

{% code overflow="wrap" %}

```javascript
public getPublicKey() : VyPromise<VySecuritySpecificationDto>
```

{% endcode %}

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

VyPromise<[VySecuritySpecificationDto](https://sdk.venly.io/sdk-reference/ts-js-v3/object-references/wallet/vysecurityspecificationdto)>
{% endtab %}
{% endtabs %}
