KIIEX – powered by KiiChain
  • Learn
    • What is KIIEX?
    • What is KiiChain?
    • KiiChain
      • Vision of KiiChain
      • Use Cases
      • Roadmap
      • Whitepaper
    • Tokenomics
      • Intro Coin Details
      • Coin Unlocking Schedule
      • Utility
      • Evergreen Model
    • Getting Started
      • Get a Wallet
      • Set Up a Web Wallet
      • Connect Wallet to Explorer App
  • Kii Ambassadors
  • CONNECT TO KIIEX
    • Set Up KIIEX Account
      • Contact OTC Desk
    • Connect to KIIEX APIs
      • Introduction
        • New endpoints
        • Revised calls
        • Behavior Changes
        • Revised Calls 3.5.0
      • Background Information
        • Message Frame
        • Standard Response Objects and Common Error Codes
        • Modules
        • Users, Accounts, and Permissions
        • Products and Instruments
        • Quotes and Orders
        • Time– and Date-Stamp Formats
        • The Trading Day
      • Users
        • Activate2FA
        • AddUserAffiliateTag
        • Authenticate2FA
        • AuthenticateUser
        • CancelUserReport
        • GetAllUnredactedUserConfigsForUser
        • GetL2Snapshot
        • GetLevel1
        • GetUnredactedUserConfigByKey
        • GetUserAccountInfos
        • GetUserAccounts
        • GetUserAffiliateCount
        • GetUserAfilliateTag
        • GetUserConfig
        • GetUserDevices
        • GetUserReportTickets
        • GetUserReportWriterResultRecords
        • GetValidate2FARequiredEndpoints
        • LogOut
        • RegisterNewDevice
        • SubscribeAccountEvents
        • SubscribeBlockTrades
        • SuscribeLevel1
        • SubscribeLevel2
        • SubscribeTicker
        • SubscribeTrades
        • UnsuscribeBlockTrades
        • UnsubscribeLevel1
        • UnsubscribeLevel2
        • UnsubscribeTicket
        • UnsuscribeTrades
        • UpdateUserAffiliateTag
        • Validate2FA
      • Accounts
        • GetAccountInfo
        • GenerateTransactionActivityReport
        • GenerateTradeActivityReport
        • GenerateTreasuryActivityReport
        • GetAllAccountConfigs
        • GetAccountPositions
        • GetTreasuryProductsForAccount
        • ScheduleTradeActivityReport
      • Trades
        • GetAccountTrades
        • GetAccountTransactions
        • GetAllOpenTradeReports
        • GetOpenTradeReports
        • GetTickerHistory
        • GetTradesHistory
      • OMS Orders
        • CancelAllOrders
        • CancelOrder
        • CancelQuote
        • CancelReplaceOrder
        • CreateQuote
        • GetOMSFeeTiers
        • GetOpenOrders
        • GetOpenQuotes
        • GetOrderFee
        • GetOrderHistory
        • GetOrderHistoryByOrderId
        • GetOrdersHistory
        • GetOrderStatus
        • ModifyOrder
        • SendOrder
        • SubmitBlockTrade
        • UpdateQuote
      • Products
        • GetProduct
        • GetProducts
      • Instruments
        • GetInstrument
        • GetInstruments
      • Tickets
        • CreateDepositTicket
        • CancelWithdraw
        • CreateWithdrawTicket
        • Deposit withdraw template
        • GetAccountDepositTransactions
        • GetAccountWithdrawTransactions
        • GetAllDepositRequestInfoTemplates
        • GetDeposits
        • GetDepositInfo
        • GetDepositTicket
        • GetDepositRequestInfoTemplate
        • GetOMSWithdrawFees
        • GetStandardTemplateExample
        • GetTetherRPCWithdrawTemplateExample
        • GetWithdrawFee
        • GetWithdraws
        • GetWithdrawTemplate
        • GetWithdrawTemplateTypes
        • GetWithdrawTicket
        • GetWithdrawTickets
        • SubmitDepositTicketComment
        • SubmitWithdrawTicketComment
      • Misc
        • Ping
  • BUILD ON KIICHAIN
    • Developer Hub
    • Testnet Oro
    • Endpoints - Cosmos
      • EVM
        • VM
        • ERC20
        • FeeMarket
      • IBC
      • Kiichain
        • TokenFactory
      • Cosmwasm
      • Cosmos
        • Auth
        • Authz
        • Bank
        • Tendermint
        • Consensus
        • Distribution
        • Evidence
        • Feegrant
        • Gov
        • Slashing
        • Staking
        • Tx
        • Upgrade
    • Developer Tools
      • RWA Protocol
      • Rust SDK
      • JS/TS SDK
        • Kiijs-evm
        • Kiijs-proto
      • Deploy a smart contract
      • Deploy a dApp
      • Testnet faucet
    • Smart Contracts
    • Modules
      • TokenFactory
      • EVM
  • Validate the Network
    • Getting Started
      • What is a delegator?
      • What is a validator?
    • Run a Validator / Full Node
      • Getting started
      • Step-by-Step Guide
        • Becoming a Validator
        • Recovering Legacy Addresses
      • Maintaining a validator
      • Incentive
      • Technical requirements
      • Validator Security
    • Economics
      • Staking Requirements
      • Delegation / Staking
      • Rewards
      • Block Rewards Formula
      • APR
    • Delegator Information
      • Choosing a validator
      • Directives of delegators
      • Incentive to stake
      • Security considerations
      • Risks to consider
Powered by GitBook
LogoLogo
On this page
Export as PDF
  1. BUILD ON KIICHAIN
  2. Endpoints - Cosmos
  3. Cosmos

Gov

PreviousFeegrantNextSlashing

Last updated 1 month ago

Params queries all parameters of the gov module.

get
Path parameters
params_typeanyRequired

params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1beta1/params/{params_type} HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "voting_params": {
    "voting_period": "text"
  },
  "deposit_params": {
    "min_deposit": [
      {
        "denom": "text",
        "amount": "text"
      }
    ],
    "max_deposit_period": "text"
  },
  "tally_params": {
    "quorum": "Ynl0ZXM=",
    "threshold": "Ynl0ZXM=",
    "veto_threshold": "Ynl0ZXM="
  }
}

Params queries all parameters of the gov module.

get
Path parameters
params_typeanyRequired

params_type defines which parameters to query for, can be one of "voting", "tallying" or "deposit".

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1/params/{params_type} HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "voting_params": {
    "voting_period": "text"
  },
  "deposit_params": {
    "min_deposit": [
      {
        "denom": "text",
        "amount": "text"
      }
    ],
    "max_deposit_period": "text"
  },
  "tally_params": {
    "quorum": "text",
    "threshold": "text",
    "veto_threshold": "text"
  },
  "params": {
    "min_deposit": [
      {
        "denom": "text",
        "amount": "text"
      }
    ],
    "max_deposit_period": "text",
    "voting_period": "text",
    "quorum": "text",
    "threshold": "text",
    "veto_threshold": "text",
    "min_initial_deposit_ratio": "text",
    "proposal_cancel_ratio": "text",
    "proposal_cancel_dest": "text",
    "expedited_voting_period": "text",
    "expedited_threshold": "text",
    "expedited_min_deposit": [
      {
        "denom": "text",
        "amount": "text"
      }
    ],
    "burn_vote_quorum": true,
    "burn_proposal_deposit_prevote": true,
    "burn_vote_veto": true,
    "min_deposit_ratio": "text"
  }
}

Proposals queries all proposals based on given status.

get
Query parameters
proposal_statusanyOptional

proposal_status defines the status of the proposals.

  • PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.
  • PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period.
  • PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting period.
  • PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has passed.
  • PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has been rejected.
  • PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.
voteranyOptional

voter defines the voter address for the proposals.

depositoranyOptional

depositor defines the deposit addresses from the proposals.

pagination.keyanyOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetanyOptional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitanyOptional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalanyOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reverseanyOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1/proposals HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "proposals": [
    {
      "id": "text",
      "messages": [
        {
          "type_url": "text",
          "value": "Ynl0ZXM="
        }
      ],
      "status": "PROPOSAL_STATUS_UNSPECIFIED",
      "final_tally_result": {
        "yes_count": "text",
        "abstain_count": "text",
        "no_count": "text",
        "no_with_veto_count": "text"
      },
      "submit_time": "2025-05-30T22:36:52.335Z",
      "deposit_end_time": "2025-05-30T22:36:52.335Z",
      "total_deposit": [
        {
          "denom": "text",
          "amount": "text"
        }
      ],
      "voting_start_time": "2025-05-30T22:36:52.335Z",
      "voting_end_time": "2025-05-30T22:36:52.335Z",
      "metadata": "text",
      "title": "text",
      "summary": "text",
      "proposer": "text",
      "expedited": true,
      "failed_reason": "text"
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}

Proposal queries proposal details based on ProposalID.

get
Path parameters
proposal_idanyRequired

proposal_id defines the unique id of the proposal.

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1/proposals/{proposal_id} HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "proposal": {
    "id": "text",
    "messages": [
      {
        "type_url": "text",
        "value": "Ynl0ZXM="
      }
    ],
    "status": "PROPOSAL_STATUS_UNSPECIFIED",
    "final_tally_result": {
      "yes_count": "text",
      "abstain_count": "text",
      "no_count": "text",
      "no_with_veto_count": "text"
    },
    "submit_time": "2025-05-30T22:36:52.335Z",
    "deposit_end_time": "2025-05-30T22:36:52.335Z",
    "total_deposit": [
      {
        "denom": "text",
        "amount": "text"
      }
    ],
    "voting_start_time": "2025-05-30T22:36:52.335Z",
    "voting_end_time": "2025-05-30T22:36:52.335Z",
    "metadata": "text",
    "title": "text",
    "summary": "text",
    "proposer": "text",
    "expedited": true,
    "failed_reason": "text"
  }
}

Deposits queries all deposits of a single proposal.

get
Path parameters
proposal_idanyRequired

proposal_id defines the unique id of the proposal.

Query parameters
pagination.keyanyOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetanyOptional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitanyOptional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalanyOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reverseanyOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1/proposals/{proposal_id}/deposits HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "deposits": [
    {
      "proposal_id": "text",
      "depositor": "text",
      "amount": [
        {
          "denom": "text",
          "amount": "text"
        }
      ]
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}

Deposit queries single deposit information based on proposalID, depositAddr.

get
Path parameters
proposal_idanyRequired

proposal_id defines the unique id of the proposal.

depositoranyRequired

depositor defines the deposit addresses from the proposals.

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1/proposals/{proposal_id}/deposits/{depositor} HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "deposit": {
    "proposal_id": "text",
    "depositor": "text",
    "amount": [
      {
        "denom": "text",
        "amount": "text"
      }
    ]
  }
}

TallyResult queries the tally of a proposal vote.

get
Path parameters
proposal_idanyRequired

proposal_id defines the unique id of the proposal.

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1/proposals/{proposal_id}/tally HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "tally": {
    "yes_count": "text",
    "abstain_count": "text",
    "no_count": "text",
    "no_with_veto_count": "text"
  }
}

Votes queries votes of a given proposal.

get
Path parameters
proposal_idanyRequired

proposal_id defines the unique id of the proposal.

Query parameters
pagination.keyanyOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetanyOptional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitanyOptional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalanyOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reverseanyOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1/proposals/{proposal_id}/votes HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "votes": [
    {
      "proposal_id": "text",
      "voter": "text",
      "options": [
        {
          "option": "VOTE_OPTION_UNSPECIFIED",
          "weight": "text"
        }
      ],
      "metadata": "text"
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}

Vote queries voted information based on proposalID, voterAddr.

get
Path parameters
proposal_idanyRequired

proposal_id defines the unique id of the proposal.

voteranyRequired

voter defines the voter address for the proposals.

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1/proposals/{proposal_id}/votes/{voter} HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "vote": {
    "proposal_id": "text",
    "voter": "text",
    "options": [
      {
        "option": "VOTE_OPTION_UNSPECIFIED",
        "weight": "text"
      }
    ],
    "metadata": "text"
  }
}

Proposals queries all proposals based on given status.

get
Query parameters
proposal_statusanyOptional

proposal_status defines the status of the proposals.

  • PROPOSAL_STATUS_UNSPECIFIED: PROPOSAL_STATUS_UNSPECIFIED defines the default proposal status.
  • PROPOSAL_STATUS_DEPOSIT_PERIOD: PROPOSAL_STATUS_DEPOSIT_PERIOD defines a proposal status during the deposit period.
  • PROPOSAL_STATUS_VOTING_PERIOD: PROPOSAL_STATUS_VOTING_PERIOD defines a proposal status during the voting period.
  • PROPOSAL_STATUS_PASSED: PROPOSAL_STATUS_PASSED defines a proposal status of a proposal that has passed.
  • PROPOSAL_STATUS_REJECTED: PROPOSAL_STATUS_REJECTED defines a proposal status of a proposal that has been rejected.
  • PROPOSAL_STATUS_FAILED: PROPOSAL_STATUS_FAILED defines a proposal status of a proposal that has failed.
voteranyOptional

voter defines the voter address for the proposals.

depositoranyOptional

depositor defines the deposit addresses from the proposals.

pagination.keyanyOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetanyOptional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitanyOptional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalanyOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reverseanyOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1beta1/proposals HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "proposals": [
    {
      "proposal_id": "text",
      "content": {
        "type_url": "text",
        "value": "Ynl0ZXM="
      },
      "status": "PROPOSAL_STATUS_UNSPECIFIED",
      "final_tally_result": {
        "yes": "text",
        "abstain": "text",
        "no": "text",
        "no_with_veto": "text"
      },
      "submit_time": "2025-05-30T22:36:52.335Z",
      "deposit_end_time": "2025-05-30T22:36:52.335Z",
      "total_deposit": [
        {
          "denom": "text",
          "amount": "text"
        }
      ],
      "voting_start_time": "2025-05-30T22:36:52.335Z",
      "voting_end_time": "2025-05-30T22:36:52.335Z"
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}

Proposal queries proposal details based on ProposalID.

get
Path parameters
proposal_idanyRequired

proposal_id defines the unique id of the proposal.

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1beta1/proposals/{proposal_id} HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "proposal": {
    "proposal_id": "text",
    "content": {
      "type_url": "text",
      "value": "Ynl0ZXM="
    },
    "status": "PROPOSAL_STATUS_UNSPECIFIED",
    "final_tally_result": {
      "yes": "text",
      "abstain": "text",
      "no": "text",
      "no_with_veto": "text"
    },
    "submit_time": "2025-05-30T22:36:52.335Z",
    "deposit_end_time": "2025-05-30T22:36:52.335Z",
    "total_deposit": [
      {
        "denom": "text",
        "amount": "text"
      }
    ],
    "voting_start_time": "2025-05-30T22:36:52.335Z",
    "voting_end_time": "2025-05-30T22:36:52.335Z"
  }
}

Deposits queries all deposits of a single proposal.

get
Path parameters
proposal_idanyRequired

proposal_id defines the unique id of the proposal.

Query parameters
pagination.keyanyOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetanyOptional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitanyOptional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalanyOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reverseanyOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1beta1/proposals/{proposal_id}/deposits HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "deposits": [
    {
      "proposal_id": "text",
      "depositor": "text",
      "amount": [
        {
          "denom": "text",
          "amount": "text"
        }
      ]
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}

Deposit queries single deposit information based on proposalID, depositor address.

get
Path parameters
proposal_idanyRequired

proposal_id defines the unique id of the proposal.

depositoranyRequired

depositor defines the deposit addresses from the proposals.

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1beta1/proposals/{proposal_id}/deposits/{depositor} HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "deposit": {
    "proposal_id": "text",
    "depositor": "text",
    "amount": [
      {
        "denom": "text",
        "amount": "text"
      }
    ]
  }
}

TallyResult queries the tally of a proposal vote.

get
Path parameters
proposal_idanyRequired

proposal_id defines the unique id of the proposal.

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1beta1/proposals/{proposal_id}/tally HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "tally": {
    "yes": "text",
    "abstain": "text",
    "no": "text",
    "no_with_veto": "text"
  }
}

Votes queries votes of a given proposal.

get
Path parameters
proposal_idanyRequired

proposal_id defines the unique id of the proposal.

Query parameters
pagination.keyanyOptional

key is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.

pagination.offsetanyOptional

offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.

pagination.limitanyOptional

limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.

pagination.count_totalanyOptional

count_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.

pagination.reverseanyOptional

reverse is set to true if results are to be returned in the descending order.

Since: cosmos-sdk 0.43

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1beta1/proposals/{proposal_id}/votes HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "votes": [
    {
      "proposal_id": "text",
      "voter": "text",
      "option": "VOTE_OPTION_UNSPECIFIED",
      "options": [
        {
          "option": "VOTE_OPTION_UNSPECIFIED",
          "weight": "text"
        }
      ]
    }
  ],
  "pagination": {
    "next_key": "Ynl0ZXM=",
    "total": "text"
  }
}

Vote queries voted information based on proposalID, voterAddr.

get
Path parameters
proposal_idanyRequired

proposal_id defines the unique id of the proposal.

voteranyRequired

voter defines the voter address for the proposals.

Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1beta1/proposals/{proposal_id}/votes/{voter} HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "vote": {
    "proposal_id": "text",
    "voter": "text",
    "option": "VOTE_OPTION_UNSPECIFIED",
    "options": [
      {
        "option": "VOTE_OPTION_UNSPECIFIED",
        "weight": "text"
      }
    ]
  }
}

Constitution queries the chain's constitution.

get
Responses
200
A successful response.
application/json
default
An unexpected error response.
application/json
get
GET /cosmos/gov/v1/constitution HTTP/1.1
Host: lcd.uno.sentry.testnet.v3.kiivalidator.com
Accept: */*
{
  "constitution": "text"
}
  • GETParams queries all parameters of the gov module.
  • GETParams queries all parameters of the gov module.
  • GETProposals queries all proposals based on given status.
  • GETProposal queries proposal details based on ProposalID.
  • GETDeposits queries all deposits of a single proposal.
  • GETDeposit queries single deposit information based on proposalID, depositAddr.
  • GETTallyResult queries the tally of a proposal vote.
  • GETVotes queries votes of a given proposal.
  • GETVote queries voted information based on proposalID, voterAddr.
  • GETProposals queries all proposals based on given status.
  • GETProposal queries proposal details based on ProposalID.
  • GETDeposits queries all deposits of a single proposal.
  • GETDeposit queries single deposit information based on proposalID, depositor address.
  • GETTallyResult queries the tally of a proposal vote.
  • GETVotes queries votes of a given proposal.
  • GETVote queries voted information based on proposalID, voterAddr.
  • GETConstitution queries the chain's constitution.