useWidgetEvents
hook that allows you to subscribe to various widget events.
These hooks helps you retrieve helpful information and to track swap progress, monitor quote execution, observe chain and token selections, track UI interactions and more
useWidgetEvents
hook outside of the component where the primary
GlueXWidget
is renderedRoute
RouteExecutionUpdate
Route
Handler:
RouteExecutionUpdate
Handler:
RouteHighValueLossUpdate
RouteSelected
ChainTokenSelected
ChainTokenSelected
Handler:
WalletConnected
boolean
(true if enabled, false if disabled)
Handler:
NavigationRouteType
(string indicating the page/route name)
Handler:
Route
(optional - the route being reviewed)
Handler:
FormFieldChanged
SettingUpdated
TokenSearch
TransactionErrorEvent
ContactSupport
LowAddressActivityConfirmed