获取当前区块的哈希。
参数
无
返回值
-
Array- 如下包含数据的数据:1.
DATA, 32 Bytes - 区块哈希。2.
DATA- 在 TRON 中未使用。3.
DATA- 在 TRON 中未使用。
示例
请求
curl -X POST 'https://api.shasta.trongrid.io/jsonrpc' --data '{
"jsonrpc": "2.0",
"method": "eth_getWork",
"params": [],
"id": 73
}'结果
{
"jsonrpc": "2.0",
"id": 73,
"result": ["0x00000000020e73915413df0c816e327dc4b9d17069887aef1fff0e854f8d9ad0", null, null]
}