HTTP/1.1 402 PAYMENT REQUIRED agent402.base.eth · BASE · SOLANA · POLYGON · ARBITRUM · MONAD · CELO · AVALANCHE · STELLAR · ALGORAND · ROBINHOOD · USDC · USDG
Agent402 / tools / tx-inspect

Transaction inspect (multichain)

$0.010 per call · USDC via x402 · POST /api/tx-inspect

Full decoded transaction on any Blockscout-hosted chain: status, from/to, value, gas, the decoded method + parameters, and token transfers — bought per call from Blockscout's Pro API over x402, no API key. What a tx actually did, on dozens of chains. Marked untrustedContent: external explorer data, analyze don't trust.

Input

FieldTypeDescription
chainstringchain name or numeric id (default base)
hash *stringtransaction hash (0x… 32-byte)

Example output

{
  "chain": "8453",
  "hash": "0x4205…4f72",
  "status": "ok",
  "method": "transfer",
  "untrustedContent": true
}

Try it — see the 402 challenge (free)

curl -i -X POST https://agent402.tools/api/tx-inspect \
  -H "Content-Type: application/json" \
  -d '{"chain":"base","hash":"0x4205f54e3dba5411b141368c30230c090404d04ec55349993a75720848774f72"}'

The response is HTTP 402 Payment Required with exact payment requirements. Any x402 v2 client pays automatically and retries:

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/tx-inspect", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "chain": "base",
    "hash": "0x4205f54e3dba5411b141368c30230c090404d04ec55349993a75720848774f72"
  }),
});
Wallet-only. This tool reaches the network/browser/storage, so it is paid in USDC via x402 (no proof-of-work tier).

Related tools

Contract inspect (multichain)

$0.010 · POST /api/contract-inspect

Deep contract inspection on any Blockscout-hosted chain (dozens: Ethereum, Base, Polygon, Optimism, Arbitrum, Celo, Gnos…

Address profile (multichain)

$0.005 · POST /api/address-profile

Explorer-grade profile of any address on any Blockscout-hosted chain: native balance, contract vs EOA, verification stat…

Token info (multichain)

$0.005 · POST /api/token-info

Explorer-grade metadata for any ERC-20/721/1155 token on any Blockscout-hosted chain: name, symbol, decimals, type, tota…