CLI Reference
Transaction
LiquidStake
Liquid stake coin.
It requires whitelisted_validators to be registered. The config.yml file registers a single whitelist validator for testing purpose.
Usage
liquid-stake [amount]Argument
Description
amount
amount of coin to liquid stake; it must be the bond denom
Example
crescentd tx liquidstaking liquid-stake 5000000000stake \
--chain-id localnet \
--from bob \
--keyring-backend test \
--gas 1000000 \
--broadcast-mode block \
--yes \
--output json | jq
#
# Tips
#
# Query account balances
# Notice the newly minted bToken
crescentd q bank balances cre1mzgucqnfr2l8cj5apvdpllhzt4zeuh2c5l33n3 -o json | jq
# Query the voter's liquid staking voting power
crescentd q liquidstaking voting-power cre1mzgucqnfr2l8cj5apvdpllhzt4zeuh2c5l33n3 -o json | jqLiquidUnstake
Unstake coin.
Usage
Argument
Description
amount
amount of coin to unstake; it must be the bToken denom
Example
Query
Params
Query the current liquidstaking parameters information.
Usage
Example
LiquidValidators
Query all liquid validators.
Usage
Example
States
Query net amount state.
Usage
Example
VotingPower
Query the voter’s staking and liquid staking voting power.
Usage
Argument
Description
voter
voter account address
Example
Last updated