Disconnect
After an initial Connect event has taken place, an app may disconnect from Phantom at anytime. Once disconnected, Phantom will reject all signature requests until another connection is established.
https://phantom.app/ul/v1/disconnect
dapp_encryption_public_key
(required): The original encryption public key used from the app side for an existing Connect session.nonce
(required): A nonce used for encrypting the request, encoded in base58.redirect_link
(required): The URI where Phantom should redirect the user upon completion. Please review Specifying Redirects for more details. URL-encoded.payload
(required): An encrypted JSON string with the following fields:{"session": "...", // token received from the connect method}session
(required): The session token received from the Connect method. Please see Handling Sessions for more details.
No query params returned.
An
errorCode
and errorMessage
as query parameters. Please refer to Errors for a full list of possible error codes.{
"errorCode": "...",
"errorMessage": "..."
}
Last modified 1yr ago