Disconnect()
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();
Logging
The SDK will prefix all logs from disconnect()
with HM (disconnect) -
Success
When disconnecting from the SDK, a "Disconnected
" message will be displayed in the console.
Feedback
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.
Updated 8 months ago