events

Ethcode exports some events for its API developers to listen to its wallet and network activities.

events.network.event()

```
/**
* An event emitter for network changes.
*
* @event
* @type {vscode.EventEmitter<string>}
*/
network: vscode.EventEmitter<string>
```

events.account.event()

```
/**
* An event emitter for account changes.
*
* @event
* @type {vscode.EventEmitter<string>}
*/
account: vscode.EventEmitter<string>
```

Last updated