81trust / 100

Block Receipts

by Block receipts (one block, in Onchain & crypto

x402 APIPassing, checked 1 h ago

Every transaction receipt in one block, fetched as a single upstream read and summarised: tx count, succeeded vs failed, total gas used, total fees, log count, contract creations, tx-type mix - plus compact per-transaction rows (hash, from, to, status, gas used, effective gas price, fee, log count) capped at 300. Block analytics, failed-tx hunting, or 'who paid what in block N' without N separate receipt calls.

POST https://agent402.tools/api/block-receipts

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
196 ms typical, 196 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/block-receipts" \
  -H "content-type: application/json" \
  -d '{"block":"25563191","limit":5,"network":"ethereum"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fblock-receipts
const res = await pay("https://agent402.tools/api/block-receipts", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"block":"25563191","limit":5,"network":"ethereum"}),
});
console.log(await res.json());

Example input

{
  "block": "25563191",
  "limit": 5,
  "network": "ethereum"
}

Example output

{
  "block": 25563191,
  "blockHash": "0x8e12…1243",
  "chainId": 1,
  "fetchedAt": "2026-08-22T12:00:00.000Z",
  "network": "ethereum",
  "receipts": [
    {
      "contractAddress": null,
      "effectiveGasPriceGwei": 1.040610226,
      "feeWei": "21852814746000",
      "from": "0xb01c…9c2e",
      "gasUsed": "21000",
      "hash": "0xdcae…9cd6",
      "index": 0,
      "logCount": 0,
      "status": "success",
      "to": "0x7c46…0f54",
      "type": "0x2"
    }
  ],
  "returned": 5,
  "source": "alchemy",
  "summary": {
    "contractCreations": 0,
    "failed": 6,
    "feeNative": "0.004453605500724532",
    "feeWei": "4453605500724532",
    "gasUsed": "16506190",
    "logCount": 420,
    "succeeded": 143,
    "txCount": 149,
    "types": {
      "0x0": 16,
      "0x2": 126,
      "0x3": 1,
      "0x4": 6
    }
  }
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402196 ms$0.005
7 h agoPassed402198 ms$0.005