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({
client,
chain,
transactionHash: "0x123...",
});

Parameters

Returns

A promise that resolves with the transaction receipt.