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.sahara-testnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "eth_getAccount",6"params": [7"0x14533e7f780cd7c1215d2a25533e46146203230e",8"latest"9],10"id": 111}'
1curl -X POST "https://docs-demo.sahara-testnet.quiknode.pro/" \2-H "Content-Type: application/json" \3-d '{4"jsonrpc": "2.0",5"method": "eth_getAccount",6"params": [7"0x14533e7f780cd7c1215d2a25533e46146203230e",8"latest"9],10"id": 111}'
Response
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"codeHash": "0x0000000000000000000000000000000000000000000000000000000000000000",6"balance": "0x3c952b7e23a2d70",7"nonce": "0x58"8}9}
1{2"jsonrpc": "2.0",3"id": 1,4"result": {5"codeHash": "0x0000000000000000000000000000000000000000000000000000000000000000",6"balance": "0x3c952b7e23a2d70",7"nonce": "0x58"8}9}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free