getClientVersion
返回节点的版本信息
参数
无
返回值
object
- 版本信息,字段如下:Build Time
:string
- 编译时间Build Type
:string
- 编译机器环境FISCO-BCOS Version
:string
- FISCO BCOS版本Git Branch
:string
- 版本分支Git Commit Hash
:string
- 版本最新commit哈希
- 示例
- // Request
- curl -X POST --data '{"jsonrpc":"2.0","method":"getClientVersion","params":[],"id":1}' http://127.0.0.1:8545 |jq
- // Result
- {
- "id": 83,
- "jsonrpc": "2.0",
- "result": {
- "Build Time": "20190106 20:49:10",
- "Build Type": "Linux/g++/RelWithDebInfo",
- "FISCO-BCOS Version": "2.0.0",
- "Git Branch": "master",
- "Git Commit Hash": "693a709ddab39965d9c39da0104836cfb4a72054"
- }
- }
当前内容版权归 FISCO BCOS 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 FISCO BCOS .