Skip to main content

eth_getAccount RPC Method

Loading...

Updated on
Apr 30, 2025

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 https://docs-demo.quiknode.pro/ \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"method": "eth_getAccount",
5
"params":["0x8D97689C9818892B700e27F316cc3E41e17fBeb9", "latest"],
6
"id": 1,
7
"jsonrpc": "2.0"
8
}'
Response
1
{
2
"jsonrpc": "2.0",
3
"result": {
4
"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",
5
"storageRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
6
"balance": "0xba862b54effa",
7
"nonce": "0x23"
8
},
9
"id": 1
10
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free