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

# eth_getAccount | Arc

> Arc API method that returns the account information for a given address. Reference for eth_getAccount on Arc via Chainstack.

Arc API method that returns the account information for a given address.

## Parameters

* `address` — the address of the account
* `quantity or tag` — the block number in hex format or block tag (`latest`, `earliest`, `pending`, `safe`, `finalized`)

## Response

* `object` — account object with balance, nonce, codeHash, and storageRoot

## `eth_getAccount` code examples

<CodeGroup>
  ```javascript ethers.js theme={"system"}
  const { JsonRpcProvider } = require("ethers");

  const provider = new JsonRpcProvider("CHAINSTACK_NODE_URL");

  async function call() {
    const result = await provider.send("eth_getAccount", [
      "0x5d20879655df3c1e04ab111af0009ad650e762f0",
      "latest"
    ]);
    console.log(result);
  }

  call();
  ```

  ```python web3.py theme={"system"}
  from web3 import Web3

  node_url = "CHAINSTACK_NODE_URL"
  web3 = Web3(Web3.HTTPProvider(node_url))

  # Make the call
  # Add your parameters here
  # result = web3.eth.<method_name>(...)
  print(result)
  ```

  ```shell cURL theme={"system"}
  curl -X POST "CHAINSTACK_NODE_URL" \
    -H "Content-Type: application/json" \
    --data '{
      "jsonrpc": "2.0",
      "method": "eth_getAccount",
      "params": ["0x5d20879655df3c1e04ab111af0009ad650e762f0", "latest"],
      "id": 1
    }'
  ```
</CodeGroup>


## OpenAPI

````yaml openapi/arc_node_api/accounts_info/eth_getAccount.json POST /
openapi: 3.0.0
info:
  title: Chainstack Node API
  version: 1.0.0
  description: This is an API for interacting with a Chainstack node.
servers:
  - url: https://arc-testnet.core.chainstack.com/6caa7fd90475ac9214f7521dd460fa7c
security: []
paths:
  /:
    post:
      tags:
        - upload
      summary: eth_getAccount
      operationId: eth_getAccount
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                id:
                  type: integer
                  default: 1
                jsonrpc:
                  type: string
                  default: '2.0'
                method:
                  type: string
                  default: eth_getAccount
                params:
                  type: array
                  default:
                    - '0x5d20879655df3c1e04ab111af0009ad650e762f0'
                    - latest
                  items:
                    anyOf:
                      - type: string
                        title: Address
                        description: The address of the account.
                      - type: string
                        title: Block
                        description: Block number or tag (latest, earliest, pending).
      responses:
        '200':
          description: Returns the result of eth_getAccount.
          content:
            application/json:
              schema:
                type: object
                properties:
                  jsonrpc:
                    type: string
                  id:
                    type: integer
                  result:
                    type: object
                    properties:
                      nonce:
                        type: string
                      balance:
                        type: string
                      storageRoot:
                        type: string
                      codeHash:
                        type: string
              example:
                jsonrpc: '2.0'
                id: 1
                result:
                  nonce: '0x1ef'
                  balance: '0x7e95defb1a447e2c6'
                  storageRoot: >-
                    0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421
                  codeHash: >-
                    0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470

````