showWalletUI
Function to show the templated wallet UI services modal using the Wallet Services plugin.
info
Please note that this function doesn't work for external wallet logins. It only works for social login embedded wallets.
Usage
// Open the Wallet UI modal
await web3auth.showWalletUi({
show: true,
})
Parameters
interface ShowWalletUIParams {
show: boolean;
path?: string;
}
show
boolean
Determines whether the wallet UI is displayed. This can be used to programmatically control its visibility.
path
string? (optional)
Specifies the path for the Wallet Services.