Hook that listens to transactions on a given chain for a given address.
import { useWatchTransactions } from "@thirdweb-dev/react";
const transactions = useWatchTransactions({ address: "0x1234", network: "ethereum",});
function useWatchTransactions( watchTransactionParams: UseWatchTransactionsParams,): Array<Transaction>;
Options for watching transactions
The address to watch transactions for
The network to watch transactions on
Options to pass to the thirdweb SDK
let watchTransactionParams: UseWatchTransactionsParams;
let returnType: Array<Transaction>;
An array of Transaction objects
Transaction