Documentation
    Preparing search index...

    Interface TonConnectUiOptions

    Hierarchy (View Summary)

    Index

    Properties

    actionsConfiguration?: ActionConfiguration

    Configuration for action-period (e.g. sendTransaction) UI elements: modals and notifications and wallet behaviour (return strategy).

    buttonRootId?: null | string

    HTML element id to attach the wallet connect button. If not passed button won't appear.

    null.
    
    enableAndroidBackHandler?: boolean

    Specifies whether the Android back button should be used to close modals and notifications on Android devices.

    true
    
    language?: Locales

    Language for the phrases it the UI elements.

    system
    
    uiPreferences?: UIPreferences

    UI elements configuration.

    walletsListConfiguration?: WalletsListConfiguration

    Configuration for the wallets list in the connect wallet modal.

    walletsPreferredFeatures?: RequiredFeatures

    Preferred features for wallets. If wallet doesn't support preferred features, it will be moved to the end of the list.

    walletsRequiredFeatures?: RequiredFeatures

    Required features for wallets. If wallet doesn't support required features, it will be disabled.