Block receipts (one block, · Block Receipts

by Block receipts (one block,

POSTBaseSolanaArbitrumPolygonMonadAvalancheeip155:1329OptimismFraxtaleip155:42220stellar:pubnetalgorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=

$0.005

per call · USD Coin on Base

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.

Endpoint

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

3

Calls / 30d

1

Unique payers / 30d

Aug 31

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://agent402.tools/api/block-receipts", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "block": "25563191",
    "limit": 5,
    "network": "ethereum"
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://agent402.tools/api/block-receipts" \
  -H "Content-Type: application/json" \
  -d '{"block":"25563191","limit":5,"network":"ethereum"}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "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
    }
  }
}

Payment details

Pay to0xabf4fabd7c416fb67202e5f9002389fc75e2a9d0
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana, Arbitrum, Polygon, Monad, Avalanche, eip155:1329, Optimism, Fraxtal, eip155:42220, stellar:pubnet, algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=
Schemesexact, upto

Is this your API?

Pin it to the top of Onchain Data and the homepage with a featured placement.

Get featured →

More from Block receipts (one block, & similar services