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
1curl -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": 111}'
1curl -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": 111}'
Response
1{2"jsonrpc": "2.0",3"result": {4"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",5"storageRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",6"balance": "0x6f8e891518e4",7"nonce": "0x5c239"8},9"id": 110}
1{2"jsonrpc": "2.0",3"result": {4"codeHash": "0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",5"storageRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",6"balance": "0x6f8e891518e4",7"nonce": "0x5c239"8},9"id": 110}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free