一、RPC
RPC(Remote Procedure Call,远程过程调用)是客户端与区块链系统交互的一套协议和接口。用户通过RPC接口可查询区块链相关信息(如块高、区块、节点连接等)和发送交易。
介绍文档
远程过程调用(RPC) — FISCO BCOS v2.9.0 文档
https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/design/rpc.html 区块链功能接口列表 — FISCO BCOS v2.9.0 文档https://fisco-bcos-documentation.readthedocs.io/zh_CN/latest/docs/api.html二、测试代码
1. Rpc.h
2. Rpc.cpp
3. RpcFace.h
三、测试
1.编译代码,运行起fisco bcos
2. 执行命令
3. 查看日志