---
title: "VoteWeighted defines a method to add a weighted vote on a specific proposal."
method: POST
path: "/cosmos.gov.v1.Msg/VoteWeighted"
tags: ["Msg"]
---

# VoteWeighted defines a method to add a weighted vote on a specific proposal.

`POST /cosmos.gov.v1.Msg/VoteWeighted`

## Request body

- object — MsgVoteWeighted defines a message to cast a vote.
  - `proposal_id` string, uint64 — proposal_id defines the unique id of the proposal.
  - `voter` string — voter is the voter address for the proposal.
  - `options` object[] — options defines the weighted vote options.
    - `option` 'VOTE_OPTION_UNSPECIFIED' | 'VOTE_OPTION_YES' | 'VOTE_OPTION_ABSTAIN' | 'VOTE_OPTION_NO' | 'VOTE_OPTION_NO_WITH_VETO' — option defines the valid vote options, it must not contain duplicate vote options.
    - `weight` string — weight is the vote weight associated with the vote option.
  - `metadata` string — metadata is any arbitrary metadata attached to the VoteWeighted.

## Response `200`

A successful response.

## Other responses

- `default` — An unexpected error response.

## Changes

- **2024-02-23** `54713b4a9d25` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/pokt-network/apis/http-api-console/changes/cosmos.gov.v1.Msg/VoteWeighted/post.md)

---

[API](https://skmtc.dev/pokt-network/apis/http-api-console.md) · [All operations](https://skmtc.dev/pokt-network/apis/http-api-console/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pokt-network/http-api-console/revisions/ca7e84576c8e/schema)
