Skip to content
Fourohtwo

USDC payment check and verification on Base

agoreum.xyz/api/v1/x402/tools/usdc-payment-check

USDC payment check and verification on Base. Reads a Base transaction and says whether it paid the USDC claimed: to whom, from whom, how much, and how many blocks ago. Use it when someone says they paid you, before you deliver. Give the transaction hash and, optionally, the recipient, sender, minimum amount and confirmations you expect; returns whether that USDC really moved.

BaseSolanaAnswering
POSThttps://agoreum.xyz/api/v1/x402/tools/usdc-payment-check

Uptime100% of 3 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://agoreum.xyz/api/v1/x402/tools/usdc-payment-check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"min_amount_usdc":"0.50","to":"0x2222222222222222222222222222222222222222","tx_hash":"0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"}),
});
console.log(await res.json());

Example input

{
  "min_amount_usdc": "0.50",
  "to": "0x2222222222222222222222222222222222222222",
  "tx_hash": "0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb"
}

More from Agoreum ToolsProvider status