setOpenedAt
Usage
const mailIndex = 1n;
const txResponse = await mail.setOpenedAt(mailIndex);Returns
Parameters
mailIndex
Last updated
Set opened time for a specific mail. This method can only be performed by the receiver of the mail.
const mailIndex = 1n;
const txResponse = await mail.setOpenedAt(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 for which the opened time needs to be set.
Last updated
