Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@starkscan/sdk

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@starkscan/sdk

Typed Starkscan API client for beta integrations. Stable latest is fail-closed; use @starkscan/sdk@alpha.

latest
Source
npmnpm
Version
0.0.2
Version published
Weekly downloads
271
Maintainers
1
Weekly downloads
 
Created
Source

@starkscan/sdk

Typed Starkscan API client for beta integrations.

The npm latest channel is intentionally fail-closed until the stable SDK is released. Install @starkscan/sdk@alpha, or pin an exact alpha version for unattended agents and production services.

Install

Use caseCommand
Try the current betanpm install @starkscan/sdk@alpha
Pin the smoked betanpm install @starkscan/sdk@0.1.0-alpha.2
Stable channelnpm install @starkscan/sdk installs a fail-closed placeholder; calling createStarkscanClient() throws upgrade guidance

First request

export STARKSCAN_BASE_URL="https://starkscan.co/api"
export STARKSCAN_API_KEY="<store this in your shell or agent secret store>"
export STARKSCAN_CHAIN="SN_MAIN"
import { createStarkscanClient } from "@starkscan/sdk";

const starkscan = createStarkscanClient({
  apiKey: process.env.STARKSCAN_API_KEY!,
  baseUrl: process.env.STARKSCAN_BASE_URL ?? "https://starkscan.co/api",
  chainId: process.env.STARKSCAN_CHAIN ?? "SN_MAIN",
});

const status = await starkscan.status();
console.log(status.chainId);

What this package is for

  • Build server-side integrations against certified Starkscan API routes.
  • Keep Starknet data access behind X-Starkscan-Api-Key and request IDs.
  • Give agents a typed client instead of hand-written fetch wrappers.

Trust model

  • latest fails closed by design until stable GA.
  • alpha is the beta channel; use exact pins for unattended jobs.
  • Package metadata links to public docs because the canonical engineering repo is private.
  • Package trust, release policy, and Socket/OpenSSF signals are documented at https://starkscan.co/docs/build/package-trust.

Keywords

starkscan

FAQs

Package last updated on 05 Jun 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts