fetchByTransactionHash
Fetch a mail using its associated transaction hash.
Usage
const txHash = '0x...';
const receivedEnvelope = await mail.fetchByTransactionHash(txHash);
Returns
Promise<ReceivedEnvelope>
A promise that resolves to the received mail Envelope associated with the specified transaction hash.
Parameters
transactionHash
- Type
TransactionHash
The transaction hash used to filter the associated mail.