count
Last updated
Counts the total number of mails associated with a specific receiver.
const receiver = '0x...';
const numberOfMails = await mail.count(receiver);Promise<bigint>
A promise that resolves to the total number of mails for the specified receiver.
Type Address
The mail receiver's address for which the mail count is being fetched.
Last updated
