Events provide a way to receive updates on the status of swaps and handle errors through custom callbacks. You do not need to import anything extra to make use of event callbacks, instead simply add them using the events field inside the settings prop on LayerswapProvider.Documentation Index
Fetch the complete documentation index at: https://docs.layerswap.io/llms.txt
Use this file to discover all available pages before exploring further.
Event Callbacks
Events Introduction
Subscribe to widget events and receive swap status updates