# Cast vote

As the name of the functionality would suggest, a validator can cast a vote for a ongoing proposal (e.g. carbon footprint report, project proposal or carbon credit batch proposal)  or a complaint (for a account ID based entity of hash based entity).

The validator can achieve this by utilizing the `cast_vote(vote_type, ipfs, vote)` functionality. When calling the functionality, the validator needs to provide the type of he/she is casting (i.e. for what is the vote meant for), as well as the IPFS link to the underlying documentation of the proposal/complaint and finally if he/she votes 'for' or 'against'.

It is also worth mentioning that there is a corresponding fee associated with this functionality call. [**Here you can find more about the pallet fees**](/veles-carbon-credits-pallet/pallet-entities-and-functionalities/functionalities/authority-exclusive-functionalities/update-fee-value.md).


---

# 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://veles-carbon-credits.gitbook.io/veles-carbon-credits-pallet/pallet-entities-and-functionalities/functionalities/validator-exclusive-functionalities/cast-vote.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.
