OptionalactionsModal / notification behavior and the return strategy for action
deep links (sendTransaction, signData, signMessage).
See ActionConfiguration.
OptionalanalyticsAnalytics configuration forwarded to the underlying TonConnect
instance. See AnalyticsSettings from @tonconnect/sdk.
OptionalbuttonHTML element id under which the "Connect Wallet" button mounts. With
null (default) the button is not rendered — use this when the dApp
triggers the modal from a custom control via tonConnectUI.openModal().
OptionalenableClose modals and notifications when the Android system back button is pressed. Disable when the dApp manages browser history manually.
OptionallanguageLanguage for the strings shown inside SDK-rendered UI.
OptionaluiVisual configuration — theme, border radius, color overrides.
OptionalwalletsWallets-list overrides — include extra wallets, reorder existing ones. See WalletsListConfiguration.
OptionalwalletsSoft preference filter — non-matching wallets are still clickable but sorted below the separator. Same shape as walletsRequiredFeatures; the SDK does NOT enforce the match at connect time, so the dApp must handle missing features itself.
OptionalwalletsHide wallets that don't advertise the listed features. Non-matching
entries are greyed out below the separator on the "All wallets" screen
and rejected at connect time with WalletMissingRequiredFeaturesError.
Runtime-tunable UI options. Pass on the constructor, or assign through
tonConnectUI.uiOptions = { ... }to update them later — the setter merges the patch with the previous value and re-renders.