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

deleteMails

Deletes multiple mails. This method can only be performed by the receiver of the mails.

Usage

const mailIndexes = [1n, 2n];
const txResponse = await mail.deleteMails(mailIndexes);

Returns

Promise<EthereumTransactionResponse>

A promise that resolves to the response from the sendTransaction method on the walletClient provided by the developer on Mail initialization.

Parameters

mailIndexes

  • Type bigint[]

The indexes of the mails to be deleted.

Last updated