Skip to main content
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 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.
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.

TypeScript

@etherfuse/stablebond-sdk — for JavaScript/TypeScript apps (web and mobile). Retrieve available bonds, read bond data, and perform on-chain transactions.

Rust

stablebond-sdk — for Rust projects needing direct, typed access to the Stablebond program (querying bonds, building transactions).
npm install @etherfuse/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):
curl https://api.sand.etherfuse.com/ramp/assets?blockchain=solana \
  -H "Authorization: <your_api_key>"
Every endpoint in the API Reference 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 to generate a typed client or import into Postman/Insomnia.
Prefer natural language or building an AI agent? Connect the MCP server and drive the API directly from Claude, ChatGPT, or any MCP-compatible client.