๐ The receipt for a Base transaction
402.com.tr/api/x402/base-receipt
๐ The receipt for a Base transaction: success or reverted, block, gas used, effective gas price, the fee in wei and ETH, how many logs it emitted and which contracts emitted them. A contract deployment reports the new address. No receipt yet means pending, dropped, or never here โ and it says which is possible instead of failing.
GET
https://402.com.tr/api/x402/base-receiptUptime100% 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://402.com.tr/api/x402/base-receipt?hash=0x68fdf10f8eb842afcddf79b2a779ed78e5be35d698e95cee1966f1787eb02b5e");
console.log(await res.json());Example input
{
"hash": "0x68fdf10f8eb842afcddf79b2a779ed78e5be35d698e95cee1966f1787eb02b5e"
}