Skip to content
TraceFast Docs

The storage slots of a contract that changed most recently

Open the contract on its entity page →

The 25 storage slots of a contract whose value changed in the most blocks of a recent window, with how many blocks each changed in and the last one, plus how many slots changed in the window in all. A change is a block in which the value differs: several writes in one block are one change, and a write of the value already held is none. A slot not listed changed in fewer blocks than the 25 listed, or not at all: totalSlotsInWindow counts every slot that changed. An empty window answers slots: [] with lastChangeBlock, the contract's newest change before the window, when it is known. The window ends at the newest block known (windowToBlock). Pass a slot to the slot history method for its values.

GET https://tracefast.xyz/api/v1/chains/1/contracts/{address}/storage/hot-slots
ParameterInTypeNotes
addresspathstringThe contract, 0x + 40 hex, any case.
windowBlocksqueryinteger, optionalThe window's width in blocks, 1 to 50400 (one week), default 7200 (about a day).

Access — an API key on the Investigation plan or higher (plans), or no key at all: pay per call with x402 at the same path on https://mpp.tracefast.xyz/api/v1, at the price its 402 states. As a tool for AI agents: get_contract_hot_slots on the MCP server. Stable — see stability.

chains/1 is a literal: other chain ids answer 404 chain_not_supported. An unknown query parameter is refused rather than ignored.

Response

200 application/json, USDC. Lists in the example are cut to two entries.

{
  "data": {
    "chainId": 1,
    "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
    "windowFromBlock": 26427551,
    "windowToBlock": 26434750,
    "totalSlotsInWindow": 165747,
    "slots": [
      {
        "storageKey": "0x3c2304a4bd8ffa93cccd3b8e4c28dbcd5c94236b1a7b40e3dc80ba6953b4cc7a",
        "changes": 6715,
        "lastChangeBlock": 26434749
      },
      {
        "storageKey": "0xb9f6591fc52eba3e15c8a35522a85e6d320e9084debe30399ae4770e63f89389",
        "changes": 6060,
        "lastChangeBlock": 26434749
      }
    ]
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794918336413,
    "cached": false,
    "asOfBlock": 26434750,
    "docs": "https://docs.tracefast.xyz/api/contract-hot-slots"
  }
}

data

FieldMeaning
addressThe contract, lowercase and 0x-prefixed.
chainIdChain id. 1 is Ethereum mainnet.
lastChangeBlockOnly with an empty window: the contract's newest change before it, when known.
slotsAt most 25, by the number of blocks they changed in; ties by key.
totalSlotsInWindowHow many slots changed in the window in all — slots is the top of this set.
windowFromBlockFirst block of the window, inclusive.
windowToBlockLast block of the window, inclusive.

data.slots[]

FieldMeaning
changesBlocks of the window in which its value changed.
lastChangeBlockThe newest of them.
storageKeyThe slot key, 0x + 64 hex.

meta is the same envelope on every method — see conventions.

Errors

StatusWhen
400bad_request: a malformed address (reason: address_invalid), windowBlocks outside 1 to 50400 (reason: window_out_of_range), or an unknown query parameter
404chain_not_supported, or an unknown path
422block_not_available (reason: coverage_gap): part of the window is temporarily unavailable; retry later
503service_unavailable: temporarily unavailable — reason: source_backlog_too_large (a windowBlocks of at most maxBacklogBlocks is always answered), read_too_large with the bound, or no reason; retry later; or service_degraded: who is calling could not be established right now; retry after Retry-After.

Malformed input, unknown parameters and the key check's 401/403/429/503 are the same for every method — see conventions and API keys.


Last updated 19 Nov 2026, 11:46 UTC · verified against TraceFast v1.0.332 · Markdown