eth_getAccount

Returns the account state object as it lives in the state trie: balance, nonce, codeHash, and storageRoot. Use `eth_getCode` to retrieve the full code by codeHash, and `eth_getStorageAt` to retrieve individual storage slots — this method does not return the full code or storage map. ⚡ Compute Units: [10 CU](https://docs.conduit.xyz/rpc-nodes/information/compute-units)

Request

This endpoint expects an object.
addressstringRequiredformat: "^0x[0-9a-fA-F]{40}$"

20-byte address to get account state for

blockIdentifierenum or stringRequired

Block number, tag, or hash (EIP-1898 object form also accepted).

Response

Account state object
balancestringformat: "^0x(0|[1-9a-fA-F][0-9a-fA-F]*)$"
Account balance in wei
noncestringformat: "^0x(0|[1-9a-fA-F][0-9a-fA-F]*)$"
Number of transactions sent from this account
codeHashstringformat: "^0x[0-9a-fA-F]{64}$"

Keccak-256 hash of the account’s code. For EOAs (no code) this is the empty-code hash 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470.

storageRootstringformat: "^0x[0-9a-fA-F]{64}$"

Root of the account’s storage trie. For accounts with no storage this is the empty-trie root 0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421.