Skip to main content

eth_getAccount RPC Method

Loading...

Updated on
Feb 09, 2026

eth_getAccount RPC Method

Parameters

address
string
REQUIRED
Loading...
blockReference
string
REQUIRED
Loading...

Returns

result
object
Loading...
codeHash
string
Loading...
storageRoot
string
Loading...
balance
string
Loading...
nonce
string
Loading...
Request
1
curl -X POST "https://docs-demo.xdai.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "eth_getAccount",
6
"params": [
7
"0xA023f7D7B75c6a8b9E2f9fCD7fA44632485f1cFd",
8
"latest"
9
],
10
"id": 1
11
}'
1
curl -X POST "https://docs-demo.xdai.quiknode.pro/" \
2
-H "Content-Type: application/json" \
3
-d '{
4
"jsonrpc": "2.0",
5
"method": "eth_getAccount",
6
"params": [
7
"0xA023f7D7B75c6a8b9E2f9fCD7fA44632485f1cFd",
8
"latest"
9
],
10
"id": 1
11
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
5
"storageRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
6
"balance": "0x6f8e891518e4",
7
"nonce": "0x5c239"
8
},
9
"id": 1
10
}
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
5
"storageRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
6
"balance": "0x6f8e891518e4",
7
"nonce": "0x5c239"
8
},
9
"id": 1
10
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free