SDK

Overview

Narrow TypeScript SDK for agents — resolve handles, create streams, read the indexer.

@streamline/sdk

A narrow headless client for StreamLine. It proves the product claim from the landing scene: machines pay by name, not hex.

import { StreamLine } from "@streamline/sdk";

await sl.stream.to("alice@streamline", {
  amountUsdc: 100,
  durationDays: 14,
});

Scope (v1)

InOut
resolve(handle | address)Claim handle
stream.to(...)create_stream_v2Raise / approve / cancel
streams.get / streams.listVault, treasury, lending
Keypair + sponsor HTTP adaptersReact hooks, Next routes
Network package / USDC configConfidential / shielded

The phone and Pro apps stay the human surface. The SDK shares create-stream builders and resolve logic with the frontend so they do not drift.

Next

On this page