Skip to Content
svmgovFor ValidatorsList Proposals

List Proposals

Fetch and display all governance proposals on-chain.

Description

Retrieves all Proposal accounts from the svmgov program and displays them in a table or JSON format. Supports filtering by status and limiting the number of results.

Usage

svmgov list-proposals

Options

OptionTypeRequiredDescription
--statusStringNoFilter by status: active, finalized, support
--limitusizeNoMaximum number of proposals to return
--jsonflagNoOutput in JSON format instead of table

Global Arguments

OptionShortDescription
--rpc-url <URL>-rCustom RPC URL

Status Filter Values

ValueDescription
activeProposals currently in the voting phase
supportProposals in the support phase (not yet voting)
finalizedProposals whose voting has ended and been finalized

Examples

# All proposals (table output) svmgov list-proposals # Only active voting proposals svmgov list-proposals --status active # Proposals in support phase svmgov list-proposals --status support # Last 10 proposals svmgov list-proposals --limit 10 # JSON output for scripting svmgov list-proposals --json # Combined: 5 active proposals as JSON svmgov list-proposals --status active --limit 5 --json

Table Output Columns

ColumnDescription
IndexSequential proposal number
TitleProposal title
AuthorValidator vote account
Statussupport / active / finalized
ForLamports voted For
AgainstLamports voted Against
AbstainLamports voted Abstain
VotesTotal number of votes cast
End EpochEpoch when voting closes
Last updated on