Waits for a supertransaction receipt to be available. This function polls the MEE service until the transaction is confirmed across all involved chains.
const receipt = await waitForSupertransactionReceipt(meeClient, { hash: "0x123..."});// Returns:// {// hash: "0x123...",// status: "success",// receipts: [{// chainId: "1",// hash: "0x456..."// }]// } Copy
const receipt = await waitForSupertransactionReceipt(meeClient, { hash: "0x123..."});// Returns:// {// hash: "0x123...",// status: "success",// receipts: [{// chainId: "1",// hash: "0x456..."// }]// }
Will throw an error if:
The Mee client instance
Extends the client with additional functionality
Makes HTTP requests to the Http node
Promise resolving to the supertransaction receipt with blockchain receipts
Waits for a supertransaction receipt to be available. This function polls the MEE service until the transaction is confirmed across all involved chains.
Example
Throws
Will throw an error if: