Documentation Index
Fetch the complete documentation index at: https://companyname-a7d5b98e-feature-fumodocs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
walletsRequiredFeatures limits the wallet picker to wallets that advertise the capabilities your dApp depends on. The SDK compares each wallet’s advertised features against the option and removes any wallet that does not match. For the protocol-level feature catalogue, see Feature specification.
With TonConnectUI
With TonConnectUIProvider (React)
How matching works
A wallet matches when it advertises every requirement listed. Top-level keys combine as a logical AND — declaringsendTransaction and signMessage requires both.
For each filter the SDK compares your declaration to the wallet’s Feature entry:
minMessages— the wallet’smaxMessagesmust be greater than or equal to this value.extraCurrencyRequired: true— matches only wallets whose feature hasextraCurrencySupported: true.itemTypes— every requested type must appear in the wallet’sitemTypes.signData.types— every requested type must appear in the wallet’stypes.embeddedRequest— matches any wallet that exposes theEmbeddedRequestfeature; the entry takes no parameters.
How filtered wallets appear in the modal
The main connect screen shows only matching wallets. The full “Wallets” list places matching wallets first and unsupported wallets below a separator. WithwalletsRequiredFeatures set, unsupported entries appear greyed out. Clicking one shows a brief error notification rather than starting the connection.
If a wallet’s advertised features turn out to be insufficient at connect time, the SDK throws WalletMissingRequiredFeaturesError and the modal switches to an unsupported-wallet view.
The “View all wallets” screen with no filter, with walletsRequiredFeatures and with walletsPreferredFeatures:
Available filters
signData.types is required when signData is present; the other sub-fields are optional. The type is exported as RequiredFeatures from @tonconnect/sdk and re-exported by @tonconnect/ui and @tonconnect/ui-react.
Note. A sibling optionwalletsPreferredFeaturesaccepts the same shape and applies a softer policy. The main connect screen still hides unsupported wallets, but in the full “Wallets” list they appear without the disabled style — clicking one attempts a normal connection. UnlikewalletsRequiredFeatures, the SDK does not enforce the match at connect time, so the dApp is responsible for handling missing features itself.
See also
- Send a transaction — uses
sendTransaction.itemTypes - Sign data — uses
signData.types - Sign and relay a message (gasless) — uses
signMessage - Connect-and-act in one tap (embedded request) — uses
embeddedRequest Featurein the Connect specification