useWatchTransactions

Hook that listens to transactions on a given chain for a given address.

import { useWatchTransactions } from "@thirdweb-dev/react";

Example

const transactions = useWatchTransactions({
address: "0x1234",
network: "ethereum",
});

Parameters

Returns

An array of Transaction objects