Skip to content
Alchemy Logo

eth_getAccountInfo

POST
/{apiKey}

Retrieves account information including balance, code, and nonce for a given address at a specified block.

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Request

stringformat: "^0x[0-9a-fA-F]{40}$"required

The address of the account to query.

string or enumrequired

The block number, tag, or hash at which to retrieve the account information.

Identifies a block by explicit number, a predefined tag (e.g., latest/safe/finalized), or a 32-byte block hash.

Responses

200

An object containing the account's balance, code, and nonce.

Was this page helpful?