Skip to main content

eth_getAccount RPC Method

Returns the balance, nonce, and code hash of a Zero account.

Updated on
Dec 02, 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:

balance
string

The current balance of the account in wei

nonce
string

The transaction count of an account

codeHash
string

A 32 byte hash of the code of the account

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