> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uniblock.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# eth_getAccount

> Retrieves detailed account information for a given address at a specific block number or tag.

### Parameters

<ParamField query="chainId" type="string" default="10" required>
  Unique identifier for a blockchain network.
</ParamField>

<ParamField body="id" type="number" default={1} required>
  Request identifier used to match responses.
</ParamField>

<ParamField body="jsonrpc" type="string" default="2.0" required>
  JSON-RPC version.
</ParamField>

<ParamField body="method" type="string" default="eth_getAccount" required>
  JSON-RPC method name.
</ParamField>

<ParamField body="params" type="object" default={["0x8D97689C9818892B700e27F316cc3E41e17fBeb9","latest"]} placeholder="[&#x22;0x8D97689C9818892B700e27F316cc3E41e17fBeb9&#x22;,&#x22;latest&#x22;]" required>
  Parameters: \[address, blockReference]

  Positional parameters for <code>eth\_getAccount</code>:

  <ul>
    <li><code>params\[0]</code>: The address of the account (20-byte hex string).</li>
    <li><code>params\[1]</code>: Block reference: block number in hex, integer, or tag ("latest", "pending", "safe", "finalized").</li>
  </ul>
</ParamField>

### Returns

<ResponseField name="result" type="object">
  Account information at the specified block.

  <Expandable title="properties">
    <ResponseField name="codeHash" type="string">
      32-byte hash of the account’s code.
    </ResponseField>

    <ResponseField name="storageRoot" type="string">
      Hash of the account’s storage trie.
    </ResponseField>

    <ResponseField name="balance" type="string">
      Account balance in wei (hexadecimal).
    </ResponseField>

    <ResponseField name="nonce" type="string">
      Number of transactions sent from the account.
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash Curl theme={null}
  curl --request POST \
    --url https://api.uniblock.dev/uni/v1/json-rpc?chainId=10 \
    --header 'content-type: application/json' \
    --data '{
      "id": 1,
      "jsonrpc": "2.0",
      "method": "eth_getAccount",
      "params": [
        "0x8D97689C9818892B700e27F316cc3E41e17fBeb9",
        "latest"
      ]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json Success theme={null}
  {
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
      "codeHash": "0x3f30cbb24e7a53efc981dcf566da48e6e9b5418d26c4763fdb4e83e7bcd0c9c5",
      "storageRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
      "balance": "0x38d7ea4c68000",
      "nonce": "0x10"
    }
  }
  ```
</ResponseExample>
