window.phantom.ethereum._eventsCount
An object containing the number of events that have happenedEventEmitter API to emit different events happening within the wallet and/or dapp.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Read the internal event count property on Phantom’s EVM provider that tracks total events emitted.
const eventsCount = window.phantom.ethereum._eventsCount;
console.log(eventsCount);
// 2
EventEmitter API to emit different events happening within the wallet and/or dapp.Was this page helpful?