1. Home
  2. Docs
  3. Paralism 节点 RESTAPI
  4. 16. CreatCustomerizeConsensusScript 创建业务子链自定义共识脚本

16. CreatCustomerizeConsensusScript 创建业务子链自定义共识脚本

* 参数: Type 脚本类型

        Script 脚本数据(字符串数组)

* 例子:http://127.0.0.1:8080/CreatCustomerizeConsensusScript?Type=xml&Script=123222

* 返回例子:

失败会返回
{
  "returnValue":"Format is wrong"
}
成功会返回
{
  "returnValue":"success"
}
Was this article helpful to you? Yes No