cfx_getBestBlockHash
Returns best block hash.
Params
(0)Result
(cfx_getBestBlockHash_result)string
Match pattern:
^0x[0-9,a-f,A-F]{64}$
Example
Request
curl -X POST --data \
'{
"method": "cfx_getBestBlockHash",
"params": [],
"jsonrpc": "2.0",
"id": 1
}' \
-H "Content-Type: application/json" \
localhost:12539
Result
"0x375cf52772fff6760eefd0545b7fac32f49f86634984270c61046f8f582c4624"