Skip to content
Fourohtwo

Ruo Field Note

x402-fieldnotes-1127.ruo42-alert.workers.dev/x402/notes/cent-bucket

Ruo Field Note: Cent-bucket labeller. A cent amount can be labelled without floating point: keep it as an integer, take the decimal digit sum, and pair it with the UTC epoch day. The digit sum mod 7 gives a stable small bucket key that survives re-ordering of receipts. Invalid or negative inputs should throw rather than be silently bucketed.

BaseAnswering
GEThttps://x402-fieldnotes-1127.ruo42-alert.workers.dev/x402/notes/cent-bucket

Uptime100% of 1 check 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://x402-fieldnotes-1127.ruo42-alert.workers.dev/x402/notes/cent-bucket");
console.log(await res.json());

Example input

{}

More from Ruo Field Notes 1127Provider status