# Edit a validator

This document provides information on how to modify the information of a registered Validator.

## staking edit-validator

{% hint style="info" %}
The --from flag used to identify a Validator must use the registered \<keyname> of the Validator.
{% endhint %}

You can modify information such as the name of the node, commission rate, node description etc. If a flag is not included in the flag, it will be set to the default value or to the pre-set value.

```
firmachaind tx staking edit-validator \
--new-moniker <moniker-name> \
--website <website-url> \
--security-contact <email-address> \
--details <validator-optional-details> \
--commission-rate <commission-rate(0.05 ~ 1.00)> \
--identity <keybase-64bit-code> \
--fees 20000ufct \
--chain-id <chain-id> \
--from <keyname>
```

Please check the following [link](/master/node-and-validators-guide/validator/register-a-validator.md#flag-parameter) in order for more information on the parameters.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.firmachain.org/master/node-and-validators-guide/validator/edit-a-validator.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
