The delegation-stake
command in Mintlayer is used to delegate coins to a specific delegation ID for staking purposes. This command allows users to stake their coins with a staking pool by sending them to a previously created delegation ID associated with that pool.
delegation-stake <AMOUNT> <DELEGATION_ID>
<AMOUNT>
: The amount of coins to be delegated for staking.<DELEGATION_ID>
: The delegation ID to which the coins are to be staked. Note that each pool you wish to delegate to must have a unique delegation ID.-h, --help
: Displays help information about the delegation-stake
command.Staking Coins to a Delegation ID:
To delegate 100 coins for staking to the delegation ID tdelg1f20yzzh8mufys6570z4klawd26yn4pwpf6hgv66xae49eqxjpmssd5qcnj
, the command would be:
delegation-stake 100 tdelg1f20yzzh8mufys6570z4klawd26yn4pwpf6hgv66xae49eqxjpmssd5qcnj
Upon successful execution, you will receive a confirmation:
Success, the delegation staking transaction was broadcast to the network.
This message confirms that the specified amount has been successfully delegated to the given delegation ID for staking purposes.