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.

Base URL


Query String Parameters

  • 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



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": "..."


Please refer to the disconnect method implemented in our React Native demo application.

Last updated