_events

window.bw.eth._events

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

const events = window.bw.eth._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. See Events for more details.

Last updated