isPhantom

window.phantom.ethereum.isPhantom

A boolean that identifies if Phantom is installed.

const isPhantomInstalled = window.phantom?.ethereum?.isPhantom;
console.log(isPhantomInstalled);
// true

Last updated