Skip to content
Fourohtwo

stablecoin-payout-reconciler.defcronyke.workers.dev/v1/reconcile

Reconcile up to 200 expected Base USDC payouts against supplied transaction receipts. Match by transaction, recipient and amount, or supply an explicit log index.

BaseAnswering
POSThttps://stablecoin-payout-reconciler.defcronyke.workers.dev/v1/reconcile

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://stablecoin-payout-reconciler.defcronyke.workers.dev/v1/reconcile", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"expected":[{"log_index":"0x3","recipient":"0x2222222222222222222222222222222222222222","reference":"synthetic-payout-01","amount_micros":"1500000","transaction_hash":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}],"receipts":[{"logs":[{"data":"0x000000000000000000000000000000000000000000000000000000000016e360","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628),
});
console.log(await res.json());

Example input

{"expected":[{"log_index":"0x3","recipient":"0x2222222222222222222222222222222222222222","reference":"synthetic-payout-01","amount_micros":"1500000","transaction_hash":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"}],"receipts":[{"logs":[{"data":"0x000000000000000000000000000000000000000000000000000000000016e360","topics":["0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628