TypeScript SDK
Install the client and query the network in a few lines.
bash
npm install @norosha/sdkts
import { Norosha } from "@norosha/sdk";
const nrs = new Norosha(process.env.NOROSHA_API_KEY!);
// Is this wallet hostile?
const flag = await nrs.flags.get("0x9c4f...a1b2");
if (flag.flagged) {
console.log(flag.severity, flag.action);
}
// Watch your own contract
await nrs.watchlist.add({ kind: "contract", chain: "bnb", value: "0xabc..." });
// Stream new alerts
nrs.feed.subscribe({ severity: "confirmed" }, (alert) => {
blockWallet(alert.address); // your logic
});Frameworks
The SDK is isomorphic — use it in Node, edge runtimes, or a Next.js route. A React hook ships for dashboards.