Transaction inspect (multichain)
POST /api/tx-inspectFull 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
| Field | Type | Description |
|---|---|---|
chain | string | chain name or numeric id (default base) |
hash * | string | transaction 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"
}),
});
Related tools
Contract inspect (multichain)
POST /api/contract-inspectDeep contract inspection on any Blockscout-hosted chain (dozens: Ethereum, Base, Polygon, Optimism, Arbitrum, Celo, Gnos…
Address profile (multichain)
POST /api/address-profileExplorer-grade profile of any address on any Blockscout-hosted chain: native balance, contract vs EOA, verification stat…
Token info (multichain)
POST /api/token-infoExplorer-grade metadata for any ERC-20/721/1155 token on any Blockscout-hosted chain: name, symbol, decimals, type, tota…