Skip to content
Proposal Management Interface

Delete ProposalTry API

POST chain_tvm (Delete Proposal)

Note:Only the proposal initiator can delete the proposal.

Parameters

type: same as above

Example Code
Request
{
"jsonrpc": "3.0",
"method": "chain_tvm",
"params": [
  "opcode=propose&subcode=removePropose&type=0&sliceno=0",
  "encryp=none"
],
"id": "aa80aa0c6bb0c7d81ac7e5b3"
}
Response
{
 "jsonrpc":  "3.0",
 "id":  "1",
 "result": {
   "ret":  "0",
   "err":  "",
   "content": {
    "txhash":  "0x6885997ca51fa08ffded573088b0c5c294652ec842ac7f3182d32e30ce261025"
  }
}
}

On this page