fetch
Usage
const receiver = '0x...';
const mailIndex = 1n;
const receivedEnvelope = await mail.fetch(receiver, mailIndex);Returns
Parameters
receiver
mailIndex
Last updated
Fetch a specific mail.
const receiver = '0x...';
const mailIndex = 1n;
const receivedEnvelope = await mail.fetch(receiver, mailIndex);Promise<ReceivedEnvelope>
A promise that resolves to the received mail Envelope.
Type Address
The mail receiver's address.
Type bigint
The index of the mail to be fetched.
Last updated
