Ankr Docs
Search…
getBestBlockHeader
1
// Requestcurl -s -X POST -H 'Content-Type: application/json' --data '{"jsonrpc":"2.0","method":"getBestBlockHeader","params":[1], "id":1234}' http://.ankr.com​// Result{ "jsonrpc": "2.0", "id": "1234", "result": { "hash": "8ce9cf8a1d40a5bc0e6689db18e88b076966e07bb4d0a0a80c11a44e6a74d9f2", "height": 42323, "preHash": "e10ef58762b8d9986e204763a1f431e8e671d3081241b7634babbe0306e87fdb", "merkleHash": "12a1855a456a8bb4a169bcbf42c41c717f69c366a7eebeffd5d6060f56b30c4f", "createTime": 1568635760, "agentHash": "360d72af0f8df855042b57ba3ce260cc5a81b73adc367b3dc51009f8841b8201", "agentId": "841b8201", "packingAddress": "NULSd6HgZXvCq2N3oeFqFw83ghQ93Exh1f6oZ", "agentAlias": null, "txCount": 1, "roundIndex": 2688, "totalFee": 0, "reward": 151704413, "size": 1037, "packingIndexOfRound": 46, "scriptSign": "2102ea3aff2fd2db2b148d83768fc3496f734f5243f949b9687e03e0adb12de8663e473045022100eeb4ebffb966d93a3cfb31cb156ffd11fed8f53b6f93171b86f8b6d6a740ac2a02203f8b7e6b37ea6ccbc46f06bb9d8e256e58cf62a75a7e2c0d3844aa2dc82899c1", "txHashList": [ "12a1855a456a8bb4a169bcbf42c41c717f69c366a7eebeffd5d6060f56b30c4f" ], "roundStartTime": 1568635300, "agentVersion": 1, "seedPacked": false }}
Copied!
Last modified 6d ago
Copy link