Skip to content
Fourohtwo

denk.halowerk.com/v1/x402-spend-report

Report the USDC or EURC outflows of an agent wallet on Base for the last 1–72 hours, grouped by recipient and UTC day. Queries Transfer events from the wallet on Base mainnet via public RPC in 10,000-block windows and sums them by recipient and by UTC day. Timestamps are derived from block numbers using the fixed 2-second Base block time, anchored at the latest block (or at to_block for a fixed hi

BaseAnswering
POSThttps://denk.halowerk.com/v1/x402-spend-report

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://denk.halowerk.com/v1/x402-spend-report", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"hours":24,"wallet":"0x7406ca907cf8fd39a6ecfffa8e1be71c103fdb83"}),
});
console.log(await res.json());

Example input

{
  "hours": 24,
  "wallet": "0x7406ca907cf8fd39a6ecfffa8e1be71c103fdb83"
}