> ## Documentation Index
> Fetch the complete documentation index at: https://docs.phantom.com/llms.txt
> Use this file to discover all available pages before exploring further.

# _events

> Access the internal events object on Phantom's EVM provider that tracks emitted event history.

## window\.phantom.ethereum.\_events

An object containing all of the events that the provider has emitted or logged.

```javascript theme={null}
const events = window.phantom.ethereum._events;
console.log(events);
// Events {chainChanged: Array(2), accountsChanged: EE}
```

This is **not** a recommended way to keep track of different events. The provider implements a Node.js `EventEmitter` API to emit different events happening within the wallet and/or dapp. For more details, see [Events](../events/README).
