get https://xumm.app/api/v1/platform/xapp/ott/
This 'ott' (one time token) endpoint allows the xApp backend to retrieve verified session related information from the XUMM user.
xApps are embedded apps. Publishing and xApp and calling xApp API endpoints are only available for XRPL Labs / XUMM partners.
Recipes
👌
Xumm SDK with JWT
Open Recipe
A one time token will be appended to your xApp launch URL (GET parameter). The "one time token" is only valid for one minute and can be retrieved only once.
Calling the XUMM API from your frontend / xApp
The XUMM API is not supposed to be called from your frontend (for security reasons). Your XUMM tokens could be used by a 3rd party to trick users into signing sign requests.
- You can use the xApp JWT flow for direct interaction between your frontend and the XUMM platform
- You can use the JS/TS SDK to build your own backend.
- You can use our ready to use NodeJS-proxy if you need a simple back end for your SPA / frontend WebApp: https://github.com/XRPL-Labs/xapp-proxy-for-xumm-api
Development: re-fetch OTT data (page refresh)
See subpage: Re-fetch OTT data
Response details
See subpage: OTT Response details