live · mainnetoc · docs
specs · api · guides
docs / documentation

@orangecheck/wallet-adapter


@orangecheck/wallet-adapter / detectWallets

Function: detectWallets()

function detectWallets(): WalletInfo[];

Defined in: detect.ts:127

Returns every supported wallet with a detected flag. Use in UIs to show "Install UniSat" vs "Sign with UniSat" depending on whether the extension is present.

const wallets = detectWallets(); wallets.find((w) => w.detected && !w.isManual) // prefer installed ones

Returns

WalletInfo[]