Walletclient instance support watch chainChange & accoutChange ? #186
Answered
by
jxom
zouhangwithsweet
asked this question in
Idea / Feature Request
-
I think the walletClient can add some event listeners or have an api to watch event change? |
Beta Was this translation helpful? Give feedback.
Answered by
jxom
Mar 11, 2023
Replies: 1 comment 1 reply
-
Could you not just use the provider directly? E.g.
viem doesn’t use EIP-1193 event listeners, so I don’t think it’s worth implementing. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jxom
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Could you not just use the provider directly?
E.g.
viem doesn’t use EIP-1193 event listeners, so I don’t think it’s worth implementing.