providers/functions/findMetaMaskWallet.md
findMetaMaskWallet(
result):DetectedWallet|undefined
MetaMask among detected wallets, in this order: an announcement with rdns io.metamask or
io.metamask.flask; else any listed provider that says isMetaMask and is not isTrust (an
announcement, window.ethereum, or its providers[] entry; Trust Wallet sets isMetaMask on
itself, and is never returned here); else undefined.
It is a lookup, not a relabelling: detectWallets still lists a wallet that announces itself as
Rabby or Brave (which also say isMetaMask) under its own rdns.
detected wallet is meta mask trust detect wallets
Parameters
| Parameter | Type |
|---|---|
result | WalletDetectionResult |
wallet detection result
Returns
DetectedWallet | undefined
detected wallet