@circuit-llm/data
v0.2.4
Published
Circuit SDK data — typed client for the Circuit Data API (market + on-chain data), paid per call in CIRC (x402).
Readme
@circuit-llm/data
Typed client for the Circuit Data API — market and on-chain intelligence (prices, liquidity, holders, trending, security), paid per call in CIRC over x402.
Part of the Circuit SDK. Packages →
Install
npm install @circuit-llm/data @circuit-llm/walletUsage
import { makeWallet } from '@circuit-llm/wallet';
import { Data } from '@circuit-llm/data';
const data = new Data({ wallet: makeWallet() });
const price = await data.tokenPrice('8fQgfsRnRkKSeNUhevT7wp8mhNvMSJdLn1fJi4oVpump');
const trending = await data.tokenTrending();Typed helpers for 40+ endpoints (tokenPrice, tokenInfo, tokenHolders, tokenSecurity, scan, …) plus a generic get(path, query). getSigned(...) returns a signed quote for Verified Intents. Built-in per-call and total spend caps.
