Skip to content
内容信息管理

更新地址内容在线调用

POST chain_updateContent (更新地址内容)

内容更新

参数

address:内容地址

name: 内容名称

content:内容

Sliceno: 元空间号(主元空间号0)

返回值

txhash:当前交易hash

示例代码
请求
{
"jsonrpc": "3.0",
"method": "chain_updateContent",
"params": [
  "opcode=Iot&subcode=update&address=&name=&content=&sliceno=0",
  "encryp=none"
],
"id": "291687c0293354a642e3eadf"
}
响应
{
 "jsonrpc":  "3.0",
 "id":  "d2c8fe196f9f8d8ace952e9e",
 "result": {
   "ret":  "0",
   "err":  "",
   "content": {
     "address":  "0x2c8e94bbe17cec95f21dfdb55e334cfd4effcd9d",
     "txhash":  "0x6885997ca51fa08ffded573088b0c5c294652ec842ac7f3182d32e30ce261025"
  }
}
}

本页目录