deleteMail
Usage
const mailIndex = 1n;
const txResponse = await mail.deleteMail(mailIndex);Returns
Parameters
mailIndex
Last updated
Deletes a specific mail. This method can only be performed by the receiver of the mail.
const mailIndex = 1n;
const txResponse = await mail.deleteMail(mailIndex);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 index of the mail to be deleted.
Last updated
