Skip to content
TraceFast Docs

What the storage slots a transaction wrote are

Open the transaction in TraceFast →

The distinct storage slots a transaction wrote (contract and slot key), in the order of each slot's first write, with how many times it was written and what the slot IS — how its key was computed: an entry of a mapping or a dynamic array (derived, with the mapping keys and the declared variable's slot where they were traced), a plain variable's fixed slot (fixed_slot), or not known (unknown, not_computed, before_coverage). No values: the values written and before are storage-writes. Paged by an opaque cursor: pass nextCursor back as cursor until it is absent. meta.coverage names the range storage writes are served over and the range slot keys are traced over.

GET https://tracefast.xyz/api/v1/chains/1/transactions/{hash}/storage-slots
ParameterInTypeNotes
hashpathstringTransaction hash, 0x-prefixed, 64 hex characters, any case.
limitqueryinteger, optionalSlots per page, 1 to 20, default 10.
cursorquerystring, optionalnextCursor of the previous page. Opaque, and valid only for this method, this transaction and the slot list it was cut from.

Access — an API key on the Investigation plan or higher (plans). Not sold over x402 yet. As a tool for AI agents: get_transaction_storage_slots on the MCP server. Beta — the shape may still change; 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, a USDC transfer: a fixed variable and two entries of balance mappings. Lists in the example are cut to two entries.

{
  "data": {
    "hash": "0xa113fe95261429e225ac5a8ed7bff2b8528859723754caac4dfc641debb45687",
    "blockNumber": 26400000,
    "txIndex": 6,
    "slotCount": 3,
    "slots": [
      {
        "storageAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
        "storageKey": "0x000000000000000000000000000000000000000000000000000000000000000b",
        "writeCount": 1,
        "meaning": {
          "kind": "fixed_slot",
          "slot": "11",
          "depth": 0
        }
      },
      {
        "storageAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
        "storageKey": "0x57d18af793d7300c4ba46d192ec7aa095070dde6c52c687c6d0d92fb8532b305",
        "writeCount": 1,
        "meaning": {
          "kind": "derived",
          "baseSlot": "9",
          "mappingKeys": [
            "0x00000000000000000000000055fe002aeff02f77364de339a1292923a15844b8"
          ],
          "depth": 1,
          "layout": "solidity",
          "layoutAmbiguous": false,
          "variableIdentified": true,
          "offset": "0",
          "chainOffsets": []
        }
      }
    ],
    "slotsTruncated": false
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794953133739,
    "cached": true,
    "asOfBlock": 26400000,
    "docs": "https://docs.tracefast.xyz/api/transaction-storage-slots",
    "coverage": {
      "slotMeaningsFromBlock": 2675000,
      "slotMeaningsThroughBlock": 26437498,
      "storageWritesFromBlock": 49018,
      "storageWritesThroughBlock": 26437498
    }
  }
}

data

FieldMeaning
blockNumberHeight of the block that includes the transaction.
hashTransaction hash, lowercase and 0x-prefixed.
nextCursorOpaque cursor for the next page. Absent on the last page.
slotCountHow many distinct slots the transaction wrote — the length of the whole list the pages walk; within the first 5 000 writes of the transaction when slotsTruncated is true.
slotsThis page: one row per distinct slot (contract and key), in the order of the slot's first write.
slotsTruncatedtrue on EVERY page when the transaction made more than the 5 000 writes this method reads: the list is then the slots of its first 5 000 writes, slots written only later are not in it, and slotCount and each writeCount count within those writes.
txIndexPosition of the transaction within its block, from 0.

data.slots[]

FieldMeaning
meaningWhat the slot is: how its key was computed. Absent when no answer could be had for this slot in this response — absence says nothing about the slot; ask again later.
storageAddressThe contract whose storage the slot is, lowercase and 0x-prefixed.
storageKeyThe slot key, 0x-prefixed, 64 hex characters.
writeCountHow many times the transaction wrote this slot; within the first 5 000 writes of the transaction when slotsTruncated is true.

data.slots[].meaning

FieldMeaning
baseSlotderived only, when the chain of hashes was traced down to a small number: the slot of the declared variable (the mapping or the array itself), decimal string.
chainOffsetsderived only: the offsets of the hash chain's links, in declaration order as traced, decimal strings. Which mapping key each offset goes with is not stated, and the two lists can differ in length.
depthderived and fixed_slot only: how many levels of hashing were traced — 0 none (fixed_slot: the key is not a hash), 1 one mapping or array, 2-3 nested ones. Absent on the other kinds, where nothing was traced: absence there is not 0.
kindderived | fixed_slot | unknown | not_computed | before_coverage. Treat a value you do not recognise as "nothing known about the slot".
layoutderived only: how the innermost hash was built. Absent when it cannot be told.
layoutAmbiguousderived only: true when both words of the innermost hash are small numbers, so which one is the key and which the slot cannot be told apart; the Solidity order is assumed. Absent on the other kinds, which have no hash to read.
mappingKeysderived only: the mapping keys found in the hash chain, in declaration order as traced, as 0x-prefixed 32-byte words (64 lowercase hex characters; an address is left-padded with zeros). An array level uses no key, so there can be fewer keys than depth; which level each key belongs to is not stated. Absent when a key could not be read as a 32-byte word — the list is never served in part.
offsetderived only: the offset added to the hash, a struct member or an array element inside the mapped value, decimal string. Absent when not traced.
slotfixed_slot only: the key's own value, decimal string.
variableIdentifiedderived only: true when the chain of hashes ends at a small base slot — the variable is identified (baseSlot). Absent on the other kinds: a fixed_slot is not necessarily a declared variable, and on unknown / not_computed / before_coverage nothing was traced, so false there would be a claim nobody computed.

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

Errors

StatusWhen
400bad_request: malformed hash, limit outside 1 to 20 (reason: limit_out_of_range), or an unknown query parameter; invalid_cursor: the cursor is not valid for this request — restart from the first page
404not_found: no transaction with this hash is known; chain_not_supported; or an unknown path
422block_not_available: reason: block_not_available when the transaction is below the height storage writes are served from (minAvailableBlock); reason: coverage_gap when the transaction's block is above the writes' own reach (maxAvailableBlock, open-ended) or when a range of recent blocks is temporarily unavailable and a transaction mined in it cannot be confirmed right now — retry later

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