# @uniswap/router-sdk

> An sdk for routing swaps using Uniswap v2 and Uniswap v3.

Latest version **2.11.6** (published 2026-09-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @uniswap/router-sdk
pnpm add @uniswap/router-sdk
yarn add @uniswap/router-sdk
bun add @uniswap/router-sdk
```

## Health

**Score 75/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 2.11.6 |
| Published | 2026-09-24 |
| First published | 2021-11-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18 |
| Dependencies | 10 |
| Unpacked size | 384.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 137 |
| Maintainers | uniswap-labs-service-account, uniswap-labs-owner-account |
| Keywords | uniswap, ethereum |

## Links

- npm: https://www.npmjs.com/package/@uniswap/router-sdk
- Repository: https://github.com/Uniswap/sdks
- Homepage: https://github.com/Uniswap/sdks#readme
- Issues: https://github.com/Uniswap/sdks/issues
- npm.io page: https://npm.io/package/@uniswap/router-sdk

## Dependencies (10)

- [jsbi](https://npm.io/package/jsbi.md) ^3.1.4
- [tslib](https://npm.io/package/tslib.md) ^2.3.0
- [tiny-invariant](https://npm.io/package/tiny-invariant.md) ^1.1.0
- [@uniswap/v2-sdk](https://npm.io/package/@uniswap/v2-sdk.md) ^4.21.5
- [@uniswap/v3-sdk](https://npm.io/package/@uniswap/v3-sdk.md) ^3.31.5
- [@uniswap/v4-sdk](https://npm.io/package/@uniswap/v4-sdk.md) ^2.4.1
- [@uniswap/sdk-core](https://npm.io/package/@uniswap/sdk-core.md) ^7.19.4
- [@ethersproject/abi](https://npm.io/package/@ethersproject/abi.md) ^5.5.0
- [@ethersproject/solidity](https://npm.io/package/@ethersproject/solidity.md) ^5.0.9
- [@uniswap/swap-router-contracts](https://npm.io/package/@uniswap/swap-router-contracts.md) ^1.3.0

## Recent versions

- 2.11.6 (latest) — 2026-09-24
- 1.9.1-beta.2 (beta) — 2024-04-11
- 2.11.5 — 2026-09-18
- 2.11.4 — 2026-09-01
- 2.11.3 — 2026-09-01
- 2.11.2 — 2026-08-13
- 2.11.1 — 2026-07-24
- 2.11.0 — 2026-06-26
- 2.10.5 — 2026-06-18
- 2.10.4 — 2026-06-05
- 2.10.3 — 2026-05-28
- 2.10.2 — 2026-05-26
- 2.10.1 — 2026-05-20
- 2.10.0 — 2026-05-11
- 2.9.0 — 2026-03-23
- … 82 more at https://npm.io/package/@uniswap/router-sdk/versions

## README

# Alpha software

The latest version of the SDK is used in production in the Uniswap Interface,
but it is considered Alpha software and may contain bugs or change significantly between patch versions.
If you have questions about how to use the SDK, please reach out in the `#dev-chat` channel of the Discord.
Pull requests welcome!

# Uniswap Swap Router SDK

This SDK is meant to facilitate interactions with the contracts in [swap-router-contracts](https://github.com/Uniswap/swap-router-contracts).

---
_Source: https://npm.io/package/@uniswap/router-sdk · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
