声明节点
rpc declare_node(RequestDeclareNode) returns (ResponseDeclareNode);
RequestDeclareNode
message RequestDeclareNode { bool validator = 1; }
ResponseDeclareNode
名称 | 数据类型 | 默认 | 必须 |
---|
代码 | StatusCode | | |
钱包 | WalletInfo | | |
message ResponseDeclareNode {
StatusCode code = 1;
WalletInfo wallet = 3;
}