Docs

waitForReceipt

Waits for the transaction receipt of a given transaction hash on a specific contract.

Example

import { waitForReceipt } from "thirdweb";
const receipt = await waitForReceipt({
contract: myContract,
transactionHash: "0x123...",
});

Parameters

Returns

A promise that resolves with the transaction receipt.