> ## Documentation Index
> Fetch the complete documentation index at: https://docs.etherfuse.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SDKs

> Libraries for the on-chain Stablebond side, plus how to call the REST API from any language.

There are two parts to an Etherfuse integration, and they use different tools:

1. **The Etherfuse REST API** (`/ramp`, `/lookup`, …) — call it over HTTP from any language. See [Calling the REST API](#calling-the-rest-api) below.
2. **The on-chain Stablebond layer** (Solana) — when a flow requires reading bond data or building/handling on-chain transactions, use the **Stablebond SDKs**.

## Stablebond SDKs

These are open-source clients for the Etherfuse Stablebond program on **Solana**. They help you query available bonds, read bond data, and work with on-chain transactions. The interactive tutorials in these docs use the TypeScript SDK.

> [!NOTE]
>
> The Stablebond SDKs are Solana/on-chain clients — they are **not** wrappers around the Etherfuse REST API. Use them alongside the REST API for the on-chain portion of a flow, not in place of it.

> [card] [TypeScript](https://www.npmjs.com/package/@etherfuse/stablebond-sdk)
>
> `@etherfuse/stablebond-sdk` — for JavaScript/TypeScript apps (web and mobile). Retrieve available bonds, read bond data, and perform on-chain transactions.

> [card] [Rust](https://crates.io/crates/stablebond-sdk)
>
> `stablebond-sdk` — for Rust projects needing direct, typed access to the Stablebond program (querying bonds, building transactions).

```bash npm theme={null}
npm install @etherfuse/stablebond-sdk
```

```bash yarn theme={null}
yarn add @etherfuse/stablebond-sdk
```

```bash cargo theme={null}
cargo add stablebond-sdk
```

## Calling the REST API

The Etherfuse API is a standard HTTP API, so you can call it from any language with an HTTP client — no SDK required. Authenticate with your API key (see [Authentication](https://docs.etherfuse.com/authentication.md)):

```bash theme={null}
curl https://api.sand.etherfuse.com/ramp/assets?blockchain=solana \
  -H "Authorization: <your_api_key>"
```

Every endpoint in the [API Reference](https://docs.etherfuse.com/api-reference/introduction.md) includes a **"Try it" playground** with copy-paste code samples in multiple languages (cURL, JavaScript, Python, and more), and you can [download the OpenAPI spec](https://api.etherfuse.com/openapi.json) to generate a typed client or import into Postman/Insomnia.

> [!TIP]
>
> Prefer natural language or building an AI agent? Connect the [MCP server](https://docs.etherfuse.com/mcp-overview.md) and drive the API directly from Claude, ChatGPT, or any MCP-compatible client.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.