Ethereum Classic
eth_getAccount10 크레딧
지정한 블록 시점의 계정(nonce, balance, codeHash, storageRoot)을 반환합니다.
매개변수
| 이름 | 타입 | 설명 |
|---|---|---|
| address | DATA | 20바이트 주소. |
| block | QUANTITY | TAG | 블록 번호 또는 태그. |
반환값
타입
Object
계정 필드.
코드 예제
curl https://holy-burned-sky-etc-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "eth_getAccount",
"params": [
"0x0000000000000000000000000000000000000000",
"latest"
]
}'