The Immersve XRPL User Session login method allows XRPL/Xahau blockchain addresses to authenticate with Immersve APIs. See Authentication for more details about how to authenticate with Immersve APIs.
XRPL Login Message Format
The Initiate Login endpoint produces a message that needs to be signed by the user's wallet. The message format for the xrpl
login method is a hex-encoded XRPL transaction.
Access and refresh tokens are obtained by submitting the message signature to the Complete Login endpoint.
Example Login Script
The following script demonstrates how to authenticate with the Immersve xrpl login method using the Node.js XRPL SDK and Axios HTTP client.