you_blockNumber

描述:返回最新块的编号。

return

数据类型 备注
Number 节点当前块编号

example

Request:

curl -X POST \
  http://127.0.0.1:8283 \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "you_blockNumber", "params": []}'

Response:

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "0x5921"
}