Skip to content
Fourohtwo

Status of any transaction on 7 EVM chains

x402-agent-hub.x402-agent-hub.workers.dev/v1/chain/tx

Status of any transaction on 7 EVM chains: pending / success / reverted, confirmations, block time, from/to, value and the all-in fee (including the OP-stack L1 data fee on Base and Optimism). Use it to confirm a payment or deployment landed. You only pay for successful reads: invalid input, not-found and upstream errors cancel settlement.

BaseAnswering
GEThttps://x402-agent-hub.x402-agent-hub.workers.dev/v1/chain/tx

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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://x402-agent-hub.x402-agent-hub.workers.dev/v1/chain/tx?chain=base&hash=0x4f9955a6481d1386b261c3a9e68bc385df78d40190fe8cef895942283e33d985");
console.log(await res.json());

Example input

{
  "chain": "base",
  "hash": "0x4f9955a6481d1386b261c3a9e68bc385df78d40190fe8cef895942283e33d985"
}

More from x402 Agent Hub