> For the complete documentation index, see [llms.txt](https://docs.startrail.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.startrail.io/startrail-sdk-js.md).

# Startrail SDK Js

- [Introduction](https://docs.startrail.io/startrail-sdk-js/introduction.md): Wallet login and gas-free Startrail transactions for your web app — no crypto knowledge required from your users
- [Getting Started](https://docs.startrail.io/startrail-sdk-js/getting-started.md): To start development with Startrail-Sdk-Js
- [RPC endpoint and chainId](https://docs.startrail.io/startrail-sdk-js/getting-started/rpc-endpoint.md)
- [Wallet Methods](https://docs.startrail.io/startrail-sdk-js/wallet-methods.md): To know Web3 wallet relevant methods in Startrail-Sdk-Js
- [Startrail API Methods](https://docs.startrail.io/startrail-sdk-js/startrail-api-methods.md): To know the methods calling to Startrail API from Startrail-Sdk-Js
- [Add Custom Histories To SRRs](https://docs.startrail.io/startrail-sdk-js/startrail-api-methods/addcustomhistoriestosrrs.md): To know the methods calling to Startrail API from Startrail-Sdk-Js
- [Approve SRR By Commitment](https://docs.startrail.io/startrail-sdk-js/startrail-api-methods/approvesrrbycommitment.md): To know the methods calling to Startrail API from Startrail-Sdk-Js
- [Bulk](https://docs.startrail.io/startrail-sdk-js/startrail-api-methods/bulk.md): To know the methods calling to Startrail API from Startrail-Sdk-Js
- [Check ERC2981 Royalty](https://docs.startrail.io/startrail-sdk-js/startrail-api-methods/checkerc2981royalty.md): To know the methods calling to Startrail API from Startrail-Sdk-Js
- [Create Collection](https://docs.startrail.io/startrail-sdk-js/startrail-api-methods/createcollection.md): To know the methods calling to Startrail API from Startrail-Sdk-Js
- [Convert Metadata](https://docs.startrail.io/startrail-sdk-js/startrail-api-methods/convertmetadata.md): To know the methods calling to Startrail API from Startrail-Sdk-Js
- [Create SRR](https://docs.startrail.io/startrail-sdk-js/startrail-api-methods/createsrr.md): To know the methods calling to Startrail API from Startrail-Sdk-Js
- [Transfer Collection Ownership](https://docs.startrail.io/startrail-sdk-js/startrail-api-methods/transfercollectionownership.md): To know the methods calling to Startrail API from Startrail-Sdk-Js
- [Transfer SRR To Ethereum Address](https://docs.startrail.io/startrail-sdk-js/startrail-api-methods/transfersrrtoethereumaddress.md): To know the methods calling to Startrail API from Startrail-Sdk-Js
- [Transfer From With Provenance](https://docs.startrail.io/startrail-sdk-js/startrail-api-methods/transferfromwithprovenance.md): To know the methods calling to Startrail API from Startrail-Sdk-Js
- [Update Metadata](https://docs.startrail.io/startrail-sdk-js/startrail-api-methods/updatemetadata.md): To know the methods calling to Startrail API from Startrail-Sdk-Js
- [Login Providers](https://docs.startrail.io/startrail-sdk-js/login-providers.md): Available options for SNS and Email based login providers
- [Interface](https://docs.startrail.io/startrail-sdk-js/login-providers/startrail-powered-by-web3auth-torus.md): UI of the SDK
- [Whitelabeling/Customizing](https://docs.startrail.io/startrail-sdk-js/login-providers/whitelabeling.md): Brand the SDK's login modal and wallet UI from config — colours, logo, layout, wording
- [Email Password](https://docs.startrail.io/startrail-sdk-js/login-providers/whitelabeling/email-password.md)
- [Hints](https://docs.startrail.io/startrail-sdk-js/login-providers/best-practices.md): Guides for the end users
- [Multi Factor Account Management](https://docs.startrail.io/startrail-sdk-js/login-providers/multi-factor-account-management.md): New device detected
- [MetaMask](https://docs.startrail.io/startrail-sdk-js/metamask.md)
- [Authentication Integration](https://docs.startrail.io/startrail-sdk-js/authentication-integration.md): To integrate user authentication with your backend system
- [Errors](https://docs.startrail.io/startrail-sdk-js/errors.md): To know the error response from Startrail-Sdk-Js
- [Change logs](https://docs.startrail.io/startrail-sdk-js/change-logs.md): Summary of the changes, updates, and fixes made to the Startrail-Sdk-Js
- [v2.3.1](https://docs.startrail.io/startrail-sdk-js/change-logs/latest.md): MetaMask: logout() now disconnects the site, so signing in again shows the account picker instead of silently reconnecting the previous account
- [v2.3.0](https://docs.startrail.io/startrail-sdk-js/change-logs/v2.3.0.md): Redesigned white-label login modal with light/dark mode, session restore on fresh instances, login({ forceLogin }) and a hosted playground
- [v2.2.0](https://docs.startrail.io/startrail-sdk-js/change-logs/v2.2.0.md)
- [v2.0.4](https://docs.startrail.io/startrail-sdk-js/change-logs/v2.0.4.md)
- [v2.0.2](https://docs.startrail.io/startrail-sdk-js/change-logs/v2.0.2.md)
- [v2.0.1](https://docs.startrail.io/startrail-sdk-js/change-logs/v2.0.1.md)
- [v1.36.0](https://docs.startrail.io/startrail-sdk-js/change-logs/page.md): All the older versions are deprecated as they deemed unusable given the deprecation of the Web3Auth dependency
- [v1.35.0](https://docs.startrail.io/startrail-sdk-js/change-logs/page-1.md)
- [v1.34.0](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.34.0.md)
- [v1.33.2](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.33.2.md)
- [v1.33.1](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.33.1.md): Adding Parameter for MFA flexibility according to the following feature by Torus/web3auth
- [v1.32.0](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.32.0.md)
- [v1.31.1](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.31.1.md): @July 14, 2023
- [v1.30.6](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.30.6.md)
- [v1.30.5](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.30.5.md)
- [v1.30.4](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.30.4.md)
- [v1.30.3](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.30.3.md)
- [v1.30.2](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.30.2.md)
- [v1.30.1](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.30.1.md): @April 5, 2023
- [v1.30.0](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.30.0.md): @April 4, 2023
- [v1.29.1](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.29.1.md): @October 18, 2022
- [v1.29.0](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.29.0.md): @October 11, 2022
- [v1.28.2](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.28.2.md): @September 9, 2022
- [v1.28.1](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.28.1.md): @August 25, 2022
- [v1.28.0](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.28.0.md): @August 16, 2022
- [v1.27.1](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.27.1.md): @May 9, 2022
- [v1.27.0](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.27.0.md): @April 11, 2022
- [v1.26.0](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.26.0.md): @March 29, 2022
- [v1.25.2(Security Patch)](https://docs.startrail.io/startrail-sdk-js/change-logs/v1.25.2-security-patch.md): @February 24, 2022


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.startrail.io/startrail-sdk-js.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
