MsgEditValidator defines a SDK message for editing an existing validator.

interface MsgEditValidator {
    commissionRate: string;
    description: undefined | Description;
    minSelfDelegation: string;
    validatorAddress: string;
}

Properties

commissionRate: string

We pass a reference to the new commission rate and min self delegation as it's not mandatory to update. If not updated, the deserialized rate will be zero with no way to distinguish if an update was intended. REF: #2373

description: undefined | Description
minSelfDelegation: string
validatorAddress: string