Skip to main content

Show Wallet UI

The showWalletUI method launches a WebView with the templated wallet UI. The SDK retrieves chain configuration automatically from your project settings in the Embedded Wallets dashboard.

info

Wallet Services is currently only available for EVM chains.

note

Access to Wallet Services is gated. This feature is free in sapphire_devnet. The minimum pricing plan to use this feature in production is the Scale Plan.

Wallet Services

Parameters

ParameterDescription
path?Path to navigate to in the wallet UI. Defaults to "wallet". You can use "wallet/transactions", "wallet/nfts", etc. for specific wallet screens.

Usage

do {
try await web3Auth.showWalletUI()
} catch {
print(error.localizedDescription)
// Handle error
}
do {
try await web3Auth.showWalletUI(path: "wallet/transactions")
} catch {
print(error.localizedDescription)
// Handle error
}