# GetPublicKey

This endpoint retrieves the Venly public key.

{% code overflow="wrap" %}

```cpp
void GetPublicKey(const FVyOnGetPublicKeyComplete& OnComplete) const;
```

{% endcode %}

\
**Parameters**

| OnComplete | FVyOnGetPublicKeyComplete | The callback function called when the user preferences retrieval operation is complete. |
| ---------- | ------------------------- | --------------------------------------------------------------------------------------- |

\
**OnComplete Callback** (FVyOnGetPublicKeyComplete)\
Contains a [FVySecuritySpecificationDto](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/wallet/fvysecurityspecificationdto) response type
