Function waitForSupertransactionReceipt

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..."
// }]
// }

Will throw an error if:

  • The transaction fails on any chain
  • The polling times out
  • The transaction hash is invalid