iriscli stake delegate

Introduction

Delegate tokens to a validator

Usage

iriscli stake delegate --address-validator=<validator-address> [flags]

Print help messages:

iriscli stake delegate --help

Unique Flags

Name, shorthand type Required Default Description
--address-validator string true "" Bech address of the validator
--amount string true "" Amount of coins to bond

Examples

iriscli stake delegate --chain-id=<chain-id> --from=<key_name> --fee=0.3iris --amount=10iris --address-validator=<validator-address>

Output:

Committed at block 306 (tx hash: 5A4C6E00F4F6BF795EB05D2D388CBA0E8A6E6CF17669314B1EE6A31729A22450, response: {Code:0 Data:[] Log:Msg 0:  Info: GasWanted:200000 GasUsed:3398 Tags:[{Key:[97 99 116 105 111 110] Value:[115 101 114 118 105 99 101 45 119 105 116 104 100 114 97 119 45 102 101 101 115] XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0} {Key:[99 111 109 112 108 101 116 101 67 111 110 115 117 109 101 100 84 120 70 101 101 45 105 114 105 115 45 97 116 116 111] Value:[34 54 55 57 54 48 48 48 48 48 48 48 48 48 48 48 34] XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0}] Codespace: XXX_NoUnkeyedLiteral:{} XXX_unrecognized:[] XXX_sizecache:0})
 {
   "code": 0,
   "data": null,
   "log": "Msg 0: ",
   "info": "",
   "gas_wanted": 200000,
   "gas_used": 16462,
   "codespace": "",
   "tags": {
     "action": "delegate",
     "delegator": "iaa106nhdckyf996q69v3qdxwe6y7408pvyvyxzhxh",
     "destination-validator": "iva106nhdckyf996q69v3qdxwe6y7408pvyv3hgcms"
   }
 })