@queryflow-402/sdk

The official Node.js/TypeScript SDK for QueryFlow โ€” a pay-per-query AI insights platform powered by the x402 payment protocol on Avalanche.

npm version License: MIT

โœจ Features

  • ๐Ÿง  AI-Powered Insights โ€” Market sentiment, price predictions, risk analysis, social trends
  • ๐Ÿ’ธ Pay-Per-Query โ€” No subscriptions, pay only for what you use
  • ๐Ÿ” Wallet-Based Auth โ€” No API keys, just your crypto wallet
  • โšก Simple Integration โ€” 3 lines of code to get started
  • ๐Ÿ”„ Dual Payment Modes โ€” Signature (dev) or Real AVAX (production)

Quick Example

import { QueryFlowClient } from "@queryflow-402/sdk";

const client = new QueryFlowClient(process.env.PRIVATE_KEY);

const result = await client.market({
  assets: ["BTC", "ETH"],
  timeframe: "24h",
});

console.log(`Sentiment: ${result.sentiment.score}/100`);

Next Steps

results matching ""

    No results matching ""