Spectrum Nodes

A typed SDK for every chain

One TypeScript client for on-chain data and RPC. Query balances, tokens, NFTs, prices, DeFi and raw nodes across 20+ chains, with full types, caching and retries out of the box.

TypeScript@spectrumnodes/sdk
$ npm i @spectrumnodes/sdk
import { Spectrum } from "@spectrumnodes/sdk";
const spectrum = new Spectrum(apiKey);
const tokens = await spectrum.token.getBalances("ethereum", addr);

100%

Typed, autocompleted

End-to-end types for every method and response

20+

Chains, one client

REST, JSON-RPC and DeFi in a single import

Install to first call in three lines

Add the package, drop in your API key, and you are querying any chain, fully typed.

quickstart.tsTypeScript
1// 1. install
2// npm i @spectrumnodes/sdk
3 
4import { Spectrum } from "@spectrumnodes/sdk";
5 
6// 2. initialise
7const spectrum = new Spectrum(apiKey);
8 
9// 3. query any chain, one typed call
10const balances = await spectrum.token.getBalances("ethereum", addr);

Typed, end-to-end

Full TypeScript types for every method, parameter, and response. Autocomplete the entire on-chain surface.

One client, every chain

Balances, tokens, NFTs, prices, DeFi and raw JSON-RPC across 20+ networks behind a single import.

Batteries included

Caching, retries, pagination and rate-limit handling are built in, so you write less glue and ship faster.

Built for agents

Composable primitives for autonomous agents: read state, fetch quotes, and execute against any chain.

Start building

Ship your first multi-chain query

Create a free account, grab an API key, and install the SDK. Fully typed, every chain.

$ npm i @spectrumnodes/sdk

Free tier with 10M credits · No credit card required