For the complete documentation index, see llms.txt. This page is also available as Markdown.

SDK

Haystack Router has SDKs to make integration as seamless as possible.

TypeScript / JavaScript

The @txnlab/haystack-router package wraps the API: it fetches quotes, builds the transaction group, and signs and submits it with any algosdk-compatible signer (e.g. use-wallet).

Installation

Requires algosdk 3.0.0 or later and Node.js 20 or later.

Quick start

The repository includes example integrations for React, React with TanStack Query, and a Node.js CLI.

To obtain an API key with a higher rate limit, reach out to support@txnlab.dev.

Last updated