isConnected

Checks if the wallet is connected to the dapp

Parameters: None

Returns: Boolean

window.phantom.ethereum.isConnected()
// true if connected
// false if not

Last updated