Ethcode docs
  • Introduction
  • Installation
    • How to install?
  • Configurations
    • Extension Settings
    • Set transaction gas strategy
  • How to Use?
    • Account
    • Initialize Ethcode
    • Compiling contracts
    • Add ABI into Ethcode
    • Deploy contract to network
    • Calling contracts
    • Create rental NFT
  • API Documentation
    • Getting started with extension API
    • wallet
    • contract
    • provider
    • events
    • status
  • Help and support
    • Support
Powered by GitBook
On this page
  • events.network.event()
  • events.account.event()
  1. API Documentation

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>
```
PreviousproviderNextstatus

Last updated 2 years ago