Skip to content
This repository was archived by the owner on Jan 10, 2026. It is now read-only.
Discussion options

You must be logged in to vote

Hi @sebas6612,

Do you await _client.Disconnect()? WCSignClient is a singleton, have you tried accessing it with WCSignClient.Instance in your script?

It seems like you are using WalletConnectUnity v2. There is a demo app which shows how to implement Disconnect and how to get current address.

This code snippet returns the session, address, and chain ID:

public (SessionStruct, string, string) GetCurrentAddress()             
{                                                                      
    var currentSession = _wcSignClient.Session.Get(_wc.Session.Keys[0]);         
                                                                       
    var defaultChain = currentSession.Namesp…

Replies: 1 comment 1 reply

Comment options

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

Answer selected by sebas6612
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants