useTransactionManager

Hook to manage transaction across different components.

This hook only manages the hashes of the transactions, use the useTransactions hook to fetch the state of the transactions.

Examples

This example shows how to fetch the state of tracked transactions and how to add new transactions to the manager.

Notice that the transaction manager only accepts the same transaction once.