Build on Weir, ship this week.

One SDK for settlement, routing and gas sponsorship. Sandbox keys work exactly like production, so you ship the same code twice.

$

npm i @weir/sdk

One SDK, sandbox to production.

Quote, settle and sponsor gas from the same client. Swap the sandbox key for a live one when you’re ready.

Sandbox quotes match mainnet exactly

Webhooks retry with idempotency keys

POST /v1/settle
import { Weir } from "@weir/sdk" const weir = new Weir({ apiKey: process.env.WEIR_KEY }) // Quote a cross-chain transfer, then settle it const quote = await weir.quote({ from: { chain: "halo", token: "USDC" }, to: { chain: "meridian", token: "USDC" }, amount: "1000.00", }) const transfer = await weir.settle(quote.id) console.log(transfer.status) // "settled"
  1. quote · 380 ms
  2. route · arclane · 3 steps
  3. settle · block 21,408,377
View on GitHub
Response200 OK
{
  "id": "tr_8f2k41q",
  "status": "settled",
  "amount": "1000.00",
  "token": "USDC",
  "route": ["halo", "arclane", "meridian"],
  "gas": "sponsored",
  "settled_ms": 11020
}

Type-safe SDKs, three languages.

Generated clients, typed end to end.

#1

v2.4.0

Developers — WeirRESREQ

TypeScript

Typed client with generated request and response models.

#2

v2.4.0

Developers — WeirKEY200----7F3A

Python

Async client with retries and idempotency built in.

#3

v2.4.0

Developers — WeirA · 440 HZ

Go

Minimal dependency client tuned for low-latency services.

Guides and releases, written by the team that built it.

Practical walkthroughs for every product.

Guides

6 guides

Quickstart: settle your first payment

Create a quote and confirm a settlement in under ten minutes.

Routing 101: how Route API ranks a quote

What goes into a route score, and how to read one.

Sponsoring gas without a budget incident

Set per-route budgets and a kill switch before you go live.

Reconciling settlements in the Ledger

Export, filter, and match every settlement to your own records.

Migrating from a custom router to Route API

A checklist for replacing an internal router without downtime.

Webhooks and idempotency for reliable settlement

Handle retries safely and never double-settle a payment.

Status and releases

All systems operational — 99.99 % uptime, trailing 12 months.

Aug 2026

Route API now compares 30 chains

Route API’s ranking graph now spans 30 chains, with three new bridges added to the routing table this release.

Jun 2026

Sponsor API adds per-route budgets

Set a sponsorship budget per route, not just per app, so gas coverage matches where you actually need it.

Apr 2026

Ledger export now includes failed-route detail

Every failed settlement in the ledger now includes the route it attempted and the reason it didn’t confirm.

Questions, answered.

Yes. Sandbox keys work like production and never touch real funds, so you can build the whole integration before going live.

Create a free website with Framer, the website builder loved by startups, designers and agencies.