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

@blockquantbase/agentkit-actions

v1.0.3

Published

Coinbase AgentKit action provider for the BlockQuant B2B Gateway — buy Base Mainnet WETH/USDC tick data and sandboxed backtests over x402, paid automatically in USDC with your agent's own wallet.

Readme

@blockquantbase/agentkit-actions

Coinbase AgentKit action provider for the BlockQuant B2B Gateway.

Give any AgentKit agent the ability to buy Base Mainnet WETH/USDC (0.05%) tick data and run sandboxed backtests — paid automatically in USDC over the x402 protocol with the agent's own wallet. No API keys, no manual invoicing: the agent hits a paid endpoint, the gateway answers 402, and this provider signs + settles the payment and replays the request.

Actions

| Action | Inputs | Endpoint | Price | |---|---|---|---| | download_archive | date | GET /api/v1/data/archive/:date | $5 USDC | | stream_ticks | date, fromBlock?, limit?, format? | GET /api/v1/data/stream | $1 USDC | | execute_matrix_sweep | dates, timeframe, profitTarget, stopLoss, bidLayers? | POST /api/v1/matrix/backtest | $25 USDC |

Prices are enforced by the gateway's live 402 challenge — they are never hardcoded into the payment path, so they can't drift.

Install

npm install @blockquantbase/agentkit-actions

This package declares peer dependencies it expects your AgentKit project to already provide, plus pulls in the x402 payment client:

npm install @coinbase/agentkit axios zod   # peers (you almost certainly have these)
# x402-axios is installed automatically as a dependency

Pin the peer ranges to whatever versions your installed AgentKit stack uses.

Wire it into your AgentKit agent

import { AgentKit } from "@coinbase/agentkit";
import { blockquantActionProvider } from "@blockquantbase/agentkit-actions";

// Your existing wallet provider (CDP, viem, etc.) — must be on Base.
// It needs a small USDC balance on Base to pay for calls.
const agentKit = await AgentKit.from({
  walletProvider,                       // your Base wallet provider
  actionProviders: [
    blockquantActionProvider(),         // ← adds the three BlockQuant actions
    // ...your other providers
  ],
});

With LangChain

import { getLangChainTools } from "@coinbase/agentkit-langchain";

const tools = await getLangChainTools(agentKit);
// `tools` now includes blockquant_download_archive / blockquant_stream_ticks /
// blockquant_execute_matrix_sweep — hand them to your agent executor.

With the Vercel AI SDK

import { getVercelAITools } from "@coinbase/agentkit-vercel-ai-sdk";

const tools = getVercelAITools(agentKit);

Configuration

| Env var | Default | Purpose | |---|---|---| | BLOCKQUANT_API_BASE_URL | https://api.blockquant.tech | Gateway origin | | BLOCKQUANT_OUTPUT_DIR | ./blockquant-data | Where download_archive writes the .zip |

Requirements

  • Network: Base Mainnet (8453) or Base Sepolia (84532). The provider gates itself to Base via supportsNetwork().
  • Funds: the agent's wallet needs USDC on Base to settle calls (and a little ETH for gas on settlement).
  • Node: >= 20.

How payment works

Every action routes through an x402-axios payment interceptor:

  1. The action calls the gateway endpoint with no payment.
  2. The gateway replies 402 Payment Required with the price, USDC asset, Base network, and pay-to address.
  3. The interceptor signs an EIP-3009 transferWithAuthorization for USDC using your AgentKit wallet, attaches it as the X-Payment header, and replays the request.
  4. The gateway verifies + settles on-chain and returns the data. The decoded settlement receipt is included in each action's result (payment field).

License

MIT © BlockQuant