Up to 50% Off on Your First Month

Subscribe by April 30th with a credit card and save big!

Sale bannerSale banner

Last updated on January 1, 1970

1 min read

Method getbestblockhash NEO (NEO)
connect with JSON-RPC protocol

getbestblockhash

info-circle-fill

Returns the latest block hash of the block chain.

Parameters

-

Request

curl --location --request POST 'https://neo.getblock.io' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "getbestblockhash",
"params": [],
"id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x119a5e29caa2ba8b97d3d0ff4d3e6002a806277d6b873ccc3c84d343f89b095a"
}