fetchConversationHashes

Fetches the conversation hashes associated with a specific account.

Usage

const account = '0x...';
const conversationHashes = await chat.fetchConversationHashes(account);

Returns

Promise<ConversationHash[]>

A promise that resolves to an array of conversation hashes that are related to the specified account.

Parameters

account

  • Type Address

The target account's address for which the related conversation hashes are being fetched.

Previous
countMessages