Detect a Network Change
Code
adena.On("changedNetwork", (network: string) => void);Params
Key
Type
Description
Sample Request
//this will emit a network change when the user changes the network settings on Adena
adena.On("changedNetwork", (network) => {
console.log("changed network is " + network)
});Networks (chainID)
ID
Network
Last updated