> ## 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** (v2, at the API root, plus `/lookup` and `/auth`): 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 needs bond data or 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 do **not** call the Etherfuse REST API, including the v2 endpoints. Use them alongside the REST API for the on-chain part of a flow.
</Note>

<CardGroup cols={2}>
  <Card title="TypeScript" icon="js" href="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>

  <Card title="Rust" icon="rust" href="https://crates.io/crates/stablebond-sdk">
    `stablebond-sdk`: for Rust projects needing direct, typed access to the Stablebond program (querying bonds, building transactions).
  </Card>
</CardGroup>

<CodeGroup>
  ```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
  ```
</CodeGroup>

## Calling the REST API

The Etherfuse API is a standard HTTP API, so you can call it from any language with an HTTP client. You do not need an SDK. Send your API key in the `Authorization` header (see [Authentication](/v2/authentication)):

```bash theme={null}
curl "https://api.sand.etherfuse.com/organization/<organization_id>/payment_accounts?pageSize=30" \
  -H "Authorization: <your_api_key>"
```

Every endpoint in the API reference, for example [List payment accounts](/v2/api-reference/payment-accounts/list-payment-accounts), has a **"Try it" playground** with code samples in cURL, JavaScript, Python, and more. To generate a typed client or import into Postman or Insomnia, download the OpenAPI specs: [`openapi-v2.json`](https://docs.etherfuse.com/openapi-v2.json) covers the v2 endpoints, and [`openapi.json`](https://docs.etherfuse.com/openapi.json) includes the authentication, organization, customer, KYC, asset, lookup and statement endpoints.

<Tip>
  Building with an AI assistant? Connect the [MCP server](/v2/mcp-overview) so Claude, ChatGPT, or any MCP-compatible client can search these docs and the API reference.
</Tip>


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