ETH JSON RPC

同步查看

curl 0.0.0.0:8080  \
-X POST -H 'content-type:application/json' \
--data '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}'

返回参考

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": {
        "currentBlock": "0x7fa4d5",
        "highestBlock": "0x7fa54f",
        "knownStates": "0x8635195",
        "pulledStates": "0x863110c",
        "startingBlock": "0x3fcce8"
    }
}