API & MCP

Everything a person can do on Blockchain Incident Replay, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Blockchain Incident Replay

Reconstructs an on-chain incident from one or more transactions: decodes each one, tries a call trace for internal ETH movements, nets every ETH and token transfer per address, and highlights the likely attacker cluster, its profit and the biggest losers — as an ordered timeline and a value-flow graph. Works without live chain lookups on pasted receipts.

Inputs of Blockchain Incident Replay
FieldTypeDefaultDescription
modeselect (live, pasted)"live"Data source
chainselect (ethereum, base, arbitrum, optimism, polygon, avalanche, bsc)"ethereum"Chain
txHasheslist—Transaction hashes (in any order). Up to 5; they are ordered by block and index.
receiptstextarea—Pasted receipts JSON. Array of receipts with transactionHash, from, to, value, blockNumber, transactionIndex, status, logs (optionally timestamp, gasUsed, effectiveGasPrice, contractAddress, functionName). Or {"receipts":[…],"tokens":{address:{symbol,decimals}}}.
tokenstextarea—Token metadata JSON (pasted mode)
pricesbooleantrueValue in USD at incident time (DefiLlama)

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": {
    "blockchain-incident-replay": { "type": "http", "url": "https://blockchainincidentreplay.usefulweb.site/mcp" }
  }
}