Skip to content
Fourohtwo

Verify a USDC payment on Base

gogeta2-u35175.vm.elestio.app/agents/v1/payments/usdc-verify

Verify a USDC payment on Base: tx succeeded, USDC sent to the expected recipient (and from the expected sender), at least min_amount, enough confirmations. Returns verdict + decoded transfers. Unknown tx = not charged.

BaseAnswering
GEThttps://gogeta2-u35175.vm.elestio.app/agents/v1/payments/usdc-verify

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://gogeta2-u35175.vm.elestio.app/agents/v1/payments/usdc-verify?to=0x17cd53c04d707ef0dd615ef56c633f02915a7905&tx_hash=0x4699c8e64627e085a11b8bdd1097f576e1363c1e11731005d1eb0c296df93d80&min_amount=0.05");
console.log(await res.json());

Example input

{
  "to": "0x17cd53c04d707ef0dd615ef56c633f02915a7905",
  "tx_hash": "0x4699c8e64627e085a11b8bdd1097f576e1363c1e11731005d1eb0c296df93d80",
  "min_amount": 0.05
}