Optional
actionsOptional
buttonHTML element id to attach the wallet connect button. If not passed button won't appear.
null.
Optional
connectorTonConnect instance. Can be helpful if you use custom ITonConnect implementation, or use both of @tonconnect/sdk and @tonconnect/ui in your app.
Optional
enableSpecifies whether the Android back button should be used to close modals and notifications on Android devices.
true
Optional
eventEvent dispatcher to track user actions. By default, it uses window.dispatchEvent
for browser environment.
BrowserEventDispatcher.
Optional
languageLanguage for the phrases it the UI elements.
system
Optional
restoreTry to restore existing session and reconnect to the corresponding wallet.
true.
Optional
uiUI elements configuration.
Optional
walletsConfiguration for the wallets list in the connect wallet modal.
Optional
widgetHTML element id to attach the modal window element. If not passed, div#tc-widget-root
in the end of the
div#tc-widget-root
.
Generated using TypeDoc
Configuration for action-period (e.g. sendTransaction) UI elements: modals and notifications and wallet behaviour (return strategy).