iriscli service refund-deposit

描述

取回所有押金

用法

iriscli service refund-deposit <flags>

特有标志

Name, shorthand Default Description Required
--def-chain-id 定义该服务的区块链ID
--service-name 服务名称

示例

取回所有押金

取回抵押之前, 必须先disable服务绑定.

iriscli service refund-deposit --chain-id=<chain-id>  --from=<key_name> --fee=0.3iris --def-chain-id=<service_define_chain_id> --service-name=<service-name>

运行成功以后,返回的结果如下:

Committed at block 17 (tx hash: 6C878E864772DE2F29725B743A8B9D40A75B41688F16C278634674653BFD1DFA, response:
 {
   "code": 0,
   "data": null,
   "log": "Msg 0: ",
   "info": "",
   "gas_wanted": 200000,
   "gas_used": 4787,
   "codespace": "",
   "tags": {
     "action": "service_refund_deposit"
   }
 })