starknet-react
starknet-react copied to clipboard
Transaction status changed notification
Some apps show notifications when the transaction status changes. The library should provide a mechanism for developers to register a callback invoked every time a transaction status changes.
The idea is to add a set of onAccepted
, onAcceptedOnL1
etc arguments to the hook. Every time the tx status changes, the user-provided callback is called.
Hi can I take this contribution ?
That sounds good! It looks like it can be done together with #174.
Fixed in #174