Docs

useSendTransaction

A hook to send a transaction.

Example

import { useSendTransaction } from "thirdweb/react-native";
const { mutate: sendTx, data: transactionResult } =
useSendTransaction();
// later
sendTx(tx);

Parameters

Returns

A mutation object to send a transaction.