Skip to content
TraceFast Docs

Every block that changed an account's balance, nonce or code

Open the address on its entity page →

The history of one account's own state, newest first — one entry per block that changed its balance, nonce or code, with the values before and after the block (the net change over the whole block, not per transaction) and whether the account came into existence in it. A change made by someone else counts too: receiving ETH from a transaction or a validator withdrawal, being self-destructed into. The list is known up to meta.asOfBlock, which is published in steps and can trail the chain head by a few minutes: a newer change is not listed yet. Continue with nextCursor.

GET https://tracefast.xyz/api/v1/chains/1/entities/{address}/state-changes
ParameterInTypeNotes
addresspathstringThe account, 0x + 40 hex, any case.
limitqueryinteger, optional1 to 100, default 25.
cursorquerystring, optionalnextCursor of the previous page. Opaque, and valid only for this method and this account.

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_entity_state_changes 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. Lists in the example are cut to two entries.

{
  "data": {
    "chainId": 1,
    "address": "0xd8da6bf26964af9d7eed9e03e53415d37aa96045",
    "changes": [
      {
        "blockNumber": 26399548,
        "timestamp": 1794494759,
        "balanceChanged": true,
        "nonceChanged": false,
        "codeChanged": false,
        "created": false,
        "balanceBefore": "5794616987480413546",
        "balanceAfter": "5798969845714110716",
        "nonceBefore": 5970,
        "nonceAfter": 5970,
        "codeHashBefore": "0xd8ef78646344da0ceb69cbcdb306939b3ba0514174fa28b6c6fa189953ff226d",
        "codeHashAfter": "0xd8ef78646344da0ceb69cbcdb306939b3ba0514174fa28b6c6fa189953ff226d"
      },
      {
        "blockNumber": 26384365,
        "timestamp": 1794311939,
        "balanceChanged": true,
        "nonceChanged": false,
        "codeChanged": false,
        "created": false,
        "balanceBefore": "5794416376380413546",
        "balanceAfter": "5794616987480413546",
        "nonceBefore": 5970,
        "nonceAfter": 5970,
        "codeHashBefore": "0xd8ef78646344da0ceb69cbcdb306939b3ba0514174fa28b6c6fa189953ff226d",
        "codeHashAfter": "0xd8ef78646344da0ceb69cbcdb306939b3ba0514174fa28b6c6fa189953ff226d"
      }
    ],
    "nextCursor": "AVsyNjM4NDM2NV0OXFGD0f5REmNbQYHdU65D"
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794918362214,
    "cached": false,
    "asOfBlock": 26434638,
    "docs": "https://docs.tracefast.xyz/api/entity-state-changes"
  }
}

data

FieldMeaning
addressThe account, lowercase and 0x-prefixed.
chainIdChain id. 1 is Ethereum mainnet.
changesThe changes of this page, newest block first.
nextCursorCursor of the next page. Absent on the last page.

data.changes[]

FieldMeaning
balanceAfterBalance in wei at the end of the block, as a decimal string.
balanceBeforeBalance in wei before the block, as a decimal string. Absent when the account did not exist before — never "0".
balanceChangedtrue when the native balance changed in the block.
blockNumberThe block.
codeChangedtrue when the code changed in the block.
codeHashAfterCode hash at the end of the block, 0x-prefixed. Absent where it is not recorded.
codeHashBeforeCode hash before the block, 0x-prefixed. Absent where it is not recorded.
createdThe account did not exist before this block: a first receipt of ETH, a first EIP-7702 delegation, or a deployment. Every …Before field is then absent.
nonceAfterNonce at the end of the block.
nonceBeforeNonce before the block. Absent with balanceBefore.
nonceChangedtrue when the nonce changed in the block.
timestampBlock time, Unix seconds.

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

Errors

StatusWhen
400bad_request: a malformed address (reason: address_invalid), limit outside 1 to 100, or an unknown query parameter; invalid_cursor
404chain_not_supported, or an unknown path
503service_unavailable: how far the history is known cannot be read right now; 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