deleteMails
Usage
const mailIndexes = [1n, 2n];
const txResponse = await mail.deleteMails(mailIndexes);Returns
Parameters
mailIndexes
Last updated
Deletes multiple mails. This method can only be performed by the receiver of the mails.
const mailIndexes = [1n, 2n];
const txResponse = await mail.deleteMails(mailIndexes);Promise<EthereumTransactionResponse>
A promise that resolves to the response from the sendTransaction method on the walletClient provided by the developer on Mail initialization.
Type bigint[]
The indexes of the mails to be deleted.
Last updated
