# retrieveUserPublicKey

Retrieves the public key associated with the given user address.

### Usage

```ts
const user = '0x...';
const publicKey = await encryptor.retrieveUserPublicKey(user);
```

### Returns

`Promise<string | undefined>`

A promise that resolves to the public key associated with the given user address. If the public key is not found, it resolves to undefined.

### Parameters

#### address

* **Type** `Address`

The user's address for which the associated public key is being retrieved.
