you_protocolVersion
描述:返回当前 YOUChain 协议的版本。
parameter
无
return
数据类型 | 备注 |
---|---|
String | 当前的 YOUChain 协议版本 |
example
Request:
curl -X POST \
http://127.0.0.1:8283 \
-H 'Content-Type: application/json' \
-d '{"jsonrpc": "2.0", "id": 1, "method": "you_protocolVersion", "params": []}'
Response:
{
"jsonrpc": "2.0",
"id": 1,
"result": "0x8"
}