on* functions and unsubscribe with the matching off* function. For usage
examples, see Handle Events.
onStatusChanged(handler) / offStatusChanged(handler)
Fires when the connection status or session state changes.
onAccountsChanged(handler) / offAccountsChanged(handler)
Fires when accounts are added or removed, or the primary account changes.
onTxChanged(handler) / offTxChanged(handler)
Fires as a transaction submitted via prepareExecute moves through its lifecycle.
Related
- Handle Events — Examples for subscribing to and cleaning up these events.
- SDK Methods — The functions that trigger these events.