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
| Parameter | In | Type | Notes |
|---|---|---|---|
address | path | string | The contract, 0x + 40 hex, any case. |
windowBlocks | query | integer, optional | The 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
| Field | Meaning |
|---|---|
address | The contract, lowercase and 0x-prefixed. |
chainId | Chain id. 1 is Ethereum mainnet. |
lastChangeBlock | Only with an empty window: the contract's newest change before it, when known. |
slots | At most 25, by the number of blocks they changed in; ties by key. |
totalSlotsInWindow | How many slots changed in the window in all — slots is the top of this set. |
windowFromBlock | First block of the window, inclusive. |
windowToBlock | Last block of the window, inclusive. |
data.slots[]
| Field | Meaning |
|---|---|
changes | Blocks of the window in which its value changed. |
lastChangeBlock | The newest of them. |
storageKey | The slot key, 0x + 64 hex. |
meta is the same envelope on every method — see conventions.
Errors
| Status | When |
|---|---|
| 400 | bad_request: a malformed address (reason: address_invalid), windowBlocks outside 1 to 50400 (reason: window_out_of_range), or an unknown query parameter |
| 404 | chain_not_supported, or an unknown path |
| 422 | block_not_available (reason: coverage_gap): part of the window is temporarily unavailable; retry later |
| 503 | service_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.
Related pages
- One contract
- Bytecode
- Function selectors
- Disassembly
- All API methods — every method on one page
- Conventions — requests, responses, errors and pagination
Last updated 19 Nov 2026, 11:46 UTC · verified against TraceFast v1.0.332 · Markdown