is Wallet On Device
Deprecated
Use isWalletOnDeviceOrThrow() instead, which propagates errors rather than defaulting to false.
Replace with
isWalletOnDeviceOrThrow(chainId)Content copied to clipboard
Checks if a wallet exists on the device for the specified chain ID.
Return
True if a wallet exists on the device, false otherwise.
Parameters
chain Id
The ID of the chain to check. If null, checks for the existence of any wallet.
Deprecated
Use isWalletOnDeviceOrThrow() instead, which propagates errors rather than defaulting to false.
Replace with
isWalletOnDeviceOrThrow(namespace)Content copied to clipboard
Checks if a wallet exists on the device for the specified PortalNamespace.
Return
True if a wallet exists on the device, false otherwise.
Parameters
namespace
The PortalNamespace representing the chain to check.