Function useWatchTransactions

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

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

    Parameters

    Returns Transaction[]

    an array of Transaction objects

    Example

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

Generated using TypeDoc