Log In

cfx_getBestBlockHash - Conflux

Returns the hash of the best block.

Parameters

  • none

Returns

DATA, 32 Bytes - Hash of the best block.


Example

Request

curl -X POST \
--data '{"jsonrpc":"2.0","method":"cfx_getBestBlockHash","id":1}' \
-H "Content-Type: application/json" \
https://cfx-core.unifra.io/v1/ad2eb3c7a9404cc6a35a6641eaf70577 


Result

{
    "jsonrpc": "2.0",
    "result": "0x6d69d8c024ca2de6473f1ed155f91ac43cf497ea8c1289fb44c471f303001c7d",
    "id": 0
}
Language
Click Try It! to start a request and see the response here!