For the complete documentation index, see llms.txt. This page is also available as Markdown.

retrieveUserPublicKey

Reference for SDK 0.5.x (maintenance mode). See Status.

Retrieves the public key associated with the given user address.

Usage

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.

Last updated