API & MCP

Everything a person can do on Rollup Batch Explorer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Rollup Batch Explorer

For a Base, OP Mainnet or Arbitrum One transaction or block, shows whether it is only sequencer-confirmed (unsafe), already posted to Ethereum in a batch (safe) or settled on finalized Ethereum data (finalized) — and, for Arbitrum, the batch number that contains it. It also scans the latest Ethereum blocks for rollup batch transactions (OP Stack batch inboxes and the Arbitrum SequencerInbox), counting blobs, blob gas and the fee each batch paid, and explains the documented withdrawal windows.

Inputs of Rollup Batch Explorer
FieldTypeDefaultDescription
modeselect (lookup, pasted)"lookup"What do you have?
rollupselect (base, optimism, arbitrum)"base"Rollup
l2Txtext—L2 transaction hash (optional)
l2Blocktext—L2 block number (optional). Used when no transaction hash is given; defaults to the latest block.
l1Blocksinteger5Recent Ethereum blocks to scan for batches
l1BlockJsontextarea—L1 block JSON (offline). eth_getBlockByNumber(…, true) result (or an array of them), optionally with a "receipts" array for exact costs.

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "rollup-batch-explorer": { "type": "http", "url": "https://rollupbatchexplorer.usefulweb.site/mcp" }
  }
}