Optionalamount?: stringThe formatted amount to swap, used to populate the swap from amount field
OptionalfromThe contract address of the token to swap from
OptionaltoThe contract address of the token to swap to
OptionalwalletThe wallet provider name to use for the swap widget
Optionallanguage?: WidgetLanguageThe language to use for the swap widget
OptionalautoWhether the swap widget should display the form or automatically proceed with the swap
Optionaldirection?: SwapDirectionThe direction of the swap
OptionalshowWhether to show a back button on the first screen, on click triggers REQUEST_GO_BACK event
Swap Widget parameters