Skip to content
TraceFast Docs

Accounts a transaction changed

Open the transaction in TraceFast →

Every account one transaction changed, with its balance, nonce and code hash before and after, whether it existed before, still exists after, and whether its storage was wiped — the net effect of the whole transaction, inner calls included, ETH and gas fee included. Two rules of the source: the fee recipient has no row when its only change is the priority fee, and an account created and destroyed within the transaction has no row. A transaction whose execution is not computed yet (usually minutes) answers 422, never an empty list.

GET https://tracefast.xyz/api/v1/chains/1/transactions/{hash}/account-changes
ParameterInTypeNotes
hashpathstringTransaction hash, 0x-prefixed, 64 hex characters, any case.

Access — an API key on the Enriched Data 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_transaction_account_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,
    "hash": "0x6bb3103eec4ca8f4a324bbab71dc84f533af7e6be11ab8b13d0d10333bb9abc5",
    "accounts": [
      {
        "address": "0x07d65f37f0b4e10070eb683e51ebce416eb5aa3a",
        "existedBefore": true,
        "existsAfter": true,
        "balanceBefore": "16283832972300424",
        "balanceAfter": "16073092077857788",
        "nonceBefore": 205,
        "nonceAfter": 206,
        "codeHashBefore": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
        "codeHashAfter": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
        "storageDestroyed": false
      },
      {
        "address": "0x4cd00e387622c35bddb9b4c962c136462338bc31",
        "existedBefore": true,
        "existsAfter": true,
        "balanceBefore": "14020066642164261404",
        "balanceAfter": "14020266642164261404",
        "nonceBefore": 1,
        "nonceAfter": 1,
        "codeHashBefore": "0x27fed69438cf2a1e69f053e52d5ee6f9637963c44da6035fb9241063240c799e",
        "codeHashAfter": "0x27fed69438cf2a1e69f053e52d5ee6f9637963c44da6035fb9241063240c799e",
        "storageDestroyed": false
      }
    ],
    "truncated": false
  },
  "meta": {
    "chain": "ethereum",
    "timestamp": 1794918388744,
    "cached": false,
    "asOfBlock": 25920000,
    "docs": "https://docs.tracefast.xyz/api/transaction-account-changes"
  }
}

data

FieldMeaning
accountsOrdered by address.
chainIdChain id. 1 is Ethereum mainnet.
hashThe transaction, lowercase and 0x-prefixed.
truncatedMore accounts than the cap (5 000): these are the first ones by address.

data.accounts[]

FieldMeaning
addressThe account, lowercase and 0x-prefixed.
balanceAfterBalance in wei after the transaction, as a decimal string. Absent when the account does not exist after it — never "0".
balanceBeforeBalance in wei before the transaction, as a decimal string. Absent when the account did not exist before — never "0".
codeHashAfterCode hash after the transaction, 0x-prefixed (the hash of empty code for an account without code). Absent when the account does not exist after it.
codeHashBeforeCode hash before the transaction, 0x-prefixed (the hash of empty code for an account without code). Absent when the account did not exist before.
existedBeforeThe account existed before the transaction. false means every …Before field is absent.
existsAfterThe account exists after the transaction. false (destroyed) means every …After field is absent.
nonceAfterNonce after the transaction. Absent when the account does not exist after it.
nonceBeforeNonce before the transaction. Absent when the account did not exist before.
storageDestroyedThe account's storage was wiped by the transaction.

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

Errors

StatusWhen
400bad_request: malformed hash, or an unknown query parameter
404not_found: no transaction with this hash is known; chain_not_supported; or an unknown path
422block_not_available: reason: coverage_gap — not computed yet, retry later; reason: block_not_available — older than the first block served (minAvailableBlock)
503service_unavailable: temporarily unavailable; retry; 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