Skip to content

formatWalletLink

formatWalletLink(href, uri): string

Adds a URL-encoded WalletConnect pairing URI to a wallet’s native or universal base URL.

A base without a scheme is treated as a custom native scheme. For example, "example" becomes example://wc?uri=….

string

string

string