Query Proposals
Available Commands
Available Commands:
deposit Query details of a deposit
deposits Query deposits on a proposal
param Query the parameters (voting|tallying|deposit) of the governance process
params Query the parameters of the governance process
proposal Query details of a single proposal
proposals Query proposals with optional filters
proposer Query the proposer of a governance proposal
tally Get the tally of a proposal vote
vote Query details of a single vote
votes Query votes on a proposalQuerying Proposals
Query Using Proposal ID
secretcli query gov proposal <proposal_id># Output of querying for a proposal
content:
'@type': /cosmos.gov.v1beta1.TextProposal
description: "A description with line breaks \n and `code formatting`"
title: My Cool Proposal
deposit_end_time: "2022-06-28T14:16:06.110227079Z"
final_tally_result:
abstain: "0"
"no": "0"
no_with_veto: "0"
"yes": "0"
proposal_id: "14"
status: PROPOSAL_STATUS_REJECTED
submit_time: "2022-06-28T13:16:06.110227079Z"
total_deposit:
- amount: "100000000"
denom: uscrt
voting_end_time: "2022-06-28T14:16:06.110227079Z"
voting_start_time: "2022-06-28T13:16:06.110227079Z"Query For All Proposals
Query For Proposal Depositor
Query For Proposal Depositors
Query For Proposal Voter
Query for Proposal Proposer
Query Proposal Tally Results
Query Governance Proposals
Querying Subsets of Governance Proposals
Voting
Tallying
Deposit
Last updated
Was this helpful?