Skip to content

Does the v2.0 beta version have a chainChanged event and how to call it? #1119

Discussion options

You must be logged in to vote

v2 is built in a way that allows any method / event to be emitted.
To have chainChanged event, you'd need to have these requirements satisfied :

  1. When dapp / wallet establish a session, chainChanged event should be included in pairing namespace.
  2. wallet / dapp can then call .emit method and pass all necessary data, for that event.

Hope this helps!

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by hackyguru
Comment options

You must be logged in to vote
1 reply
@Mukesh6201
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants