Skip to main content

eth_getAccount RPC Method

Retrieve account details by specifying an address and a block number/tag.

Updated on
Mar 27, 2026

Parameters

address
string
REQUIRED

The account address for which the information is to be retrieved

blockReference
string
REQUIRED

The block number in either hexadecimal or integer format, or utilize tags for convenience. Available tags include latest for the latest mined block, pending for the pending state/transactions, and safe or finalized to indicate different degrees of block confirmation

Returns

result
object

A result object which contains the following fields:

codeHash
string

A 32 byte hash of the code of the account

storageRoot
string

The hash of the account's storage data

balance
string

The current balance of the account in wei

nonce
string

The transaction count of an account

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"nonce": "0xc3",
6
"balance": "0x657a13fc7c2534eda7",
7
"storageRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
8
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
9
}
10
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"nonce": "0xc3",
6
"balance": "0x657a13fc7c2534eda7",
7
"storageRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
8
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470"
9
}
10
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free