Detecting Actions via URL Schemes
Blinks may be linked to Actions in at least 3 ways:
Sharing an explicit Action URL: solana://https://actions.alice.com/donate. In this case, only supported clients may render the Blink. There will be no fallback link preview, or site that may be visited outside of the unsupporting client.
Sharing a link to a website that is linked to an actions API via an
actions.json
file on the website root domain.E.g. https://alice.com/actions.json maps https://alice.com/donate, a website URL at which users can donate to Alice, to API URL e.g. https://actions.alice.com/donate, at which Actions for donating to Alice are hosted.
Embedding an Action URL in an “interstitial” site or mobile app deep link URL that understands how to parse actions.
E.g. https://dial.to/?action=solana-action:https://actions.alice.com/donate or https://dial.to/?action=solana-action:https://dial.to/api/donate
Last updated