Properties
isPhantom
Use the isPhantom boolean property to check whether the injected EVM provider is Phantom.
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Use the isPhantom boolean property to check whether the injected EVM provider is Phantom.
const isPhantomInstalled = window.phantom?.ethereum?.isPhantom;
console.log(isPhantomInstalled);
// true
Was this page helpful?