Specifying Redirects
All Methods support a redirect_link= param that lets Phantom know how to get back to the original app. The URI specified by this param should be URL encoded. The following is an example for a mydapp://onPhantomConnected redirect URI:
1
redirect_link%3Dmydapp%3A%2F%2FonPhantomConnected
Copied!
If the deeplink request to Phantom comes with a response, Phantom will append the results as query parameters in the redirect_link= upon redirecting.
1
redirect_link=mydapp://onPhantomConnected?data=...
Copied!
Copy link