Disconnect the currently connected wallet if one is connected.


Does NOT remove the app as 'connected' inside the wallet, this simply means no further actions can be triggered on this wallet without generating a new signer (by calling connect)

Example Usage

await contract.disconnect();


The SDK will prefix all logs from disconnect() with HM (disconnect) -


When disconnecting from the SDK, a "Disconnected" message will be displayed in the console.


Something not quite right, unclear or can't find what you are looking for? Please let us know at support.moonpay.com and we will get back to you as soon as we can.