widget
widget copied to clipboard
[Widget] How to execute ContractCall after li.fi transaction without forcing custom mode?
Describe the problem When using the widget, I would like to execute my own contract (for tracking transaction data) after the li.fi contract transaction is completed — essentially, I need the ContractCall functionality.
However, ContractCall is currently only available in custom mode (checkout | deposit). This brings new issues: 1. Users cannot freely select which tokens they want to swap. 2. The page layout is also affected by custom mode.
Question How can I achieve both goals: • Allowing free token selection for users. • Executing my contract call after the li.fi contract transaction is completed.