Docs

sendAndConfirmTransaction

Sends a transaction using the provided wallet.

Example

import { sendAndConfirmTransaction } from "thirdweb";
const transactionReceipt = await sendAndConfirmTransaction({
wallet,
transaction,
});

Parameters

Returns

A promise that resolves to the confirmed transaction receipt.