Skip to main content

Litecoin LiaaS API – API Clients

Our approach follows the OpenAPI standard and a language-first SDK strategy similar to other modern platforms.

OpenAPI

The Litecoin LiaaS API is described with OpenAPI 3.0+. You can point generators at our schema to produce a type-safe client in your preferred language.

  • Spec URL: OpenAPI Spec
  • Spec identity: the document declares OpenAPI 3.0, title KakrLabs-SDK-Creator, version 1.0, and 43 operations. Read the version out of the spec itself rather than pinning to a number written here.

Official SDKs

Eleven language directories live in the SDK monorepo.

LanguageDirectoryOn a package registry?
JavaScriptliaas-jsnpm liaas-js — v2.0.4
TypeScriptliaas-typescriptnpm pteri-sdk — v1.1.2
Pythonliaas-pythonNot on PyPI — install from source
Goliaas-go-langSource only
Javaliaas-javaSource only
C# (.NET)liaas-csharpSource only
Rubyliaas-rubySource only
PHPliaas-phpSource only
Dartliaas-dartSource only
Rustliaas-rustSource only
Kotlinliaas-kotlinSource only

The "Source only" rows are what we could find on the public registries — npm and PyPI were checked directly. Absence there is not proof a package does not exist under another name. Needs verification

What these clients actually are

Set expectations before you pick one up. All eleven directories are OpenAPI Generator 7.14.0 output, generated from the same spec:

  • No base URL is baked in. Because the spec has no servers block, every generated client defaults to http://localhost — confirmed in the JavaScript ApiClient and the TypeScript runtime.ts. You must configure the host yourself on every client.
  • Generator defaults are still in place. The C# client, for instance, ships under the Org.OpenAPITools namespace rather than a KakrLabs one.
  • They are transport, not a framework. Retries, request signing and pagination helpers are not part of generator output, so do not assume they are there. Read the directory you plan to use.
  • The two npm packages have diverged in age. liaas-js was last published in November 2024; pteri-sdk in February 2026. The repository itself was last pushed in December 2025, so what is on npm and what is in the repo are not necessarily the same code.

One file is hand-written rather than generated: liaas-typescript/apis/WalletConnector.ts, a browser SDK that opens the PTERI web wallet in a popup to connect and sign. It is the only client code with real hosts compiled in — a relay at https://pteriwalletapixx121.pteri.org/relay and the wallet origin https://pteri-web-wallet-919521117286.europe-west1.run.app. That is a separate subsystem from the REST API; it is not a LiaaS base URL.

If your language isn't listed, generate a client from the OpenAPI spec above, or open a request on the repo.


Next