How to withdraw your validator rewards

Assuming you have a validator running, or have tokens staked to a validator, you'll eventually want to withdraw your rewards. Here's how to do it.

First find your validator address:

$ mtcli keys show validator --bech val -a
cosmosvaloper15hs9l7mzjfe9s507l0sjg7d4ulmst2l2lcrtx4

To query your outstanding rewards:

$ mtcli query distr rewards <delegator address> [validator address]

To withdraw rewards from a particular validator:

$ mtcli tx distr withdraw-rewards <validator address>

To withdraw all rewards for a single delegator address:

$ mtcli tx distr withdraw-all-rewards --from <delegator address>