npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

verdict-sdk

v0.1.2

Published

TypeScript client for Algo Verdict API — blockchain intelligence for AI agents, paid per call in USDC on Algorand via x402

Readme

verdict-sdk

TypeScript client for Algo Verdict API — the blockchain intelligence layer for AI agents, wallets and DeFi. Calls are paid per request in USDC on Algorand over x402. No API key, no account, no subscription.

npm install verdict-sdk

Use

import { VerdictClient } from "verdict-sdk";

const verdict = new VerdictClient({
  privateKey: process.env.ALGORAND_PRIVATE_KEY, // 25-word mnemonic or base64 secret key
});

const token = await verdict.analyzeToken({ asset: "31566704", chain: "algorand" });
console.log(token.rug_probability, token.rug_signals, token.verdict);

const answer = await verdict.ask({ question: "Who has been buying ASA 31566704 this week?" });
console.log(answer.answer);   // prose
console.log(answer.data);     // the structured results it is built from

Payment is gasless — the facilitator covers Algorand transaction fees, so the wallet needs USDC but no ALGO beyond the one-time opt-in.

Methods

| Method | Price | Returns | |---|---|---| | analyzeToken | $0.05 | Rug probability with named signals, liquidity, holders, verdict | | analyzeWallet | $0.08 / $0.50 deep | Funding ancestry, labels, risk score, clusters | | explainTransaction | $0.02 | What a committed Algorand transaction did, in prose | | simulateTransaction | $0.02 | Whether a group would succeed, and the exact failure | | discover | $0.03 | New launches, trending, volume growth, liquidity moves, fresh LPs | | portfolio | $0.04 | Holdings, valuation, allocation, LP positions, 30-day flows | | smartMoney | $0.10 | Wallets moving an asset, with stated methodology | | analyzeContract | $0.05 | Creator, privileged addresses, TEAL analysis, app TVL | | reputation | $0.02 | Standing score with every component named | | ask | $0.12 | Natural-language question answered from live capability output | | watchPoll | $0.01 | Everything that changed since your cursor | | serviceCard, fundingGuide, health | free | No payment required |

Without a wallet

Construct the client with no privateKey and the free methods still work. Any paid call throws PaymentNotConfiguredError with instructions rather than failing obscurely:

const verdict = new VerdictClient();
await verdict.serviceCard();   // fine
await verdict.analyzeToken(…); // throws PaymentNotConfiguredError

To get a wallet that can pay, run npm run fund-agent from the main repository — keys are generated locally and never leave your machine.

Notes

  • Every field a data source cannot provide comes back null, never a guess. Check for null rather than treating a missing value as zero or as an absence of risk.
  • smartMoney and reputation return a methodology / components block. Read it before quoting the numbers — both are explicitly heuristics with stated windows.
  • network defaults to "mainnet". The client pins the matching algod node automatically; an unpinned node would stamp the wrong genesis hash and payments would be rejected.

MIT licensed.