Skip to main content

isConnected

Check whether there's a signer connected with the SDK.

Usage

Call this method to check if a signer (e.g. a wallet) is connected to the SDK.

if (sdk.wallet.isConnected()) {
// a signer is connected!
// perform some logic
} else {
// no signer is connected
// perform some other logic
}

Return Value

Returns true if a signer is connected, false if not.

boolean;