starknet-react icon indicating copy to clipboard operation
starknet-react copied to clipboard

Transaction status changed notification

Open fracek opened this issue 2 years ago • 3 comments

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.

fracek avatar Mar 13 '22 11:03 fracek

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.

fracek avatar Aug 11 '22 14:08 fracek

Hi can I take this contribution ?

J4ckyLIM avatar Oct 01 '22 13:10 J4ckyLIM

That sounds good! It looks like it can be done together with #174.

fracek avatar Oct 03 '22 10:10 fracek

Fixed in #174

fracek avatar Nov 21 '22 12:11 fracek