window.phantom.ethereum._events
An object containing all of the events that the provider has emitted or logged.EventEmitter API to emit different events happening within the wallet and/or dapp. For more details, see Events.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Access the internal events object on Phantom’s EVM provider that tracks emitted event history.
const events = window.phantom.ethereum._events;
console.log(events);
// Events {chainChanged: Array(2), accountsChanged: EE}
EventEmitter API to emit different events happening within the wallet and/or dapp. For more details, see Events.Was this page helpful?