声明节点


rpc declare_node(RequestDeclareNode) returns (ResponseDeclareNode);

RequestDeclareNode

名称数据类型默认必须
验证器bool
message RequestDeclareNode { bool validator = 1; }

ResponseDeclareNode

名称数据类型默认必须
代码StatusCode
钱包WalletInfo
message ResponseDeclareNode {
  StatusCode code = 1;
  WalletInfo wallet = 3;
}