Skip to main content
This section documents public interfaces exposed by the Transfer Settlement Network (TSN), TrustLink Labs’ implementation of a Decentralized Settlement Protocol (DESP). DeFi decentralizes financial services; DESP decentralizes settlement infrastructure. The pages here describe what an application, operator, or integrator can call and what the source currently guarantees.

Scope

The inventory is grouped by the public surface that owns the contract:
  • RPC Methods: FastAPI Node endpoints and the Solana JSON-RPC gateway’s HTTP control endpoints.
  • SDK: @trustlink/tsn-sdk application helpers and @trustlink/tsn-cranker-sdk operator helpers.
  • CLI: setup commands exposed by the Cranker SDK package.
  • On-chain Programs: public Solana instruction entrypoints that settle or register protocol state.
No webhook group is listed because the scanned source does not expose a consumer webhook dispatcher. Receiver and worker communication is authenticated HTTP work leasing, not a public webhook contract.

Base URLs

The SDK chooses local endpoints before live endpoints when both are supplied to getTsnNetworkStatus. Applications should use the gateway URL rather than embedding an upstream Solana provider URL.

Versioning and evidence

The reference is generated from the source paths linked at the bottom of each page. It does not promote an interface merely because a route is present in configuration. A destination route must pass the Node’s registered-route and live-liquidity checks before it is returned as ready. When a type or account layout cannot be established from the inspected source, the page says TODO: confirm from ... rather than inventing a field.

Source map