Skip to content

[Widget] How to execute ContractCall after li.fi transaction without forcing custom mode? #571

@smartchainark

Description

@smartchainark

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.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions