Skip to main content
Use this Quick Action to deep link into the Swap interface with prefilled parameters.

Parameters

string
Target app id for the Swap quick action: app_6c5c5717c77abe83be8814c032c3a6f9.
string
Path inside the target app. Use ’/’ for Swap.
string | 0x${string}
Token address for the “from” token.
string | 0x${string}
Token address for the “to” token.
string
Amount of the from token in base token units.
string
app_id of the app that uses this quick action.
string
Name of the app that uses this quick action.
Swap Screen

Helper function