Skip to content

How to get return when I use web3Modal.open()? #3314

Discussion options

You must be logged in to vote

You can subscribe to the modal and get the account when closed
https://docs.walletconnect.com/2.0/web/web3modal/html/wagmi/actions#subscribemodal
You can also use the watchAccount subscriber from wagmi

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@glitch-txs
Comment options

Answer selected by 0xNullMe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants