> 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/introduction.md).

# Introduction

Some of the key functionalities of the Startrail-Sdk-Js include:

* Provides simple access to EOA without crypto wallet and knowledge
* Provides the user information including a user's email with support for multiple social(SNS) and email based login
* Signs an arbitrary message with the Ethereum private key associated to your EOA
  * This can be used to connect the wallet to your website
* Executes blockchain transactions through our API with meta-transactions
  * Users sign [EIP-712 ](https://eips.ethereum.org/EIPS/eip-712)typed message, our API wraps it and broadcast. The signature given by the user cannot be compromized, and it gets unwrapped on-chain. There's no gas fee payment required by users

{% hint style="success" %}
See more details for our available [login providers details](/startrail-sdk-js/login-providers.md)
{% endhint %}

We will use the word SDK and Startrail-Sdk-Js interchangeably within rest of this document.

## 🤖 Built for AI coding tools

From **v2.2.0** the SDK ships first-class resources for LLMs and AI coding agents, so tools like Claude, Cursor and Copilot integrate it correctly with minimal context.

<table data-view="cards"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>📄 llms.txt</strong></td><td>Machine-readable API reference — install, lifecycle, every method signature, the environment table and the error catalogue.</td><td>Bundled in the npm package:<br><code>node_modules/@startbahn/startrail-sdk-js/llms.txt</code></td></tr><tr><td><strong>🤖 AGENTS.md</strong></td><td>Rules and the canonical <code>construct → login → action</code> pattern for agents writing code against the SDK.</td><td>In the SDK source repository</td></tr><tr><td><strong>💬 Typed TSDoc</strong></td><td>Rich hover docs and autocomplete on the public class and request/response types, straight from your editor.</td><td>Bundled in the package types</td></tr></tbody></table>

{% hint style="info" %}
Point your AI assistant at `node_modules/@startbahn/startrail-sdk-js/llms.txt` for an accurate, version-matched reference instead of relying on its training data.
{% endhint %}

## Table Of Contents

* [Getting Started](/startrail-sdk-js/getting-started.md)
  * start development with SDK
* [Wallet Methods](/startrail-sdk-js/wallet-methods.md)
  * wallet based methods description
* [Startrail API Methods](/startrail-sdk-js/startrail-api-methods.md)
  * methods calling Startrail API from SDK
* [Login Providers](/startrail-sdk-js/login-providers.md)
  * social(SNS) and email based login details
* [Authentication Integration](/startrail-sdk-js/authentication-integration.md)
  * integrate user authentication with your backend system
* [Error Catalogue](/startrail-sdk-js/errors.md)
  * error responses from SDK
* [Change Logs](/startrail-sdk-js/change-logs.md)
  * concise summary of the changes, updates, and fixes made to the SDK


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
