fetchAll
Fetch all mails for a specific receiver.
Usage
const receiver = '0x...';
const receivedEnvelopes = await mail.fetchAll(receiver);
Returns
Promise<ReceivedEnvelope[]>
A promise that resolves to an array of received mail Envelopes.
Parameters
receiver
- Type
Address
The mail receiver's address.