GetProposalTypeByProposalId
GetProposalTypeByProposalId returns the type of a proposal.
Parameters:
- proposalId: proposal identifier to look up
Returns:
- ProposalType: type recorded for the proposal
- error: nil on success, or an error when the proposal does not exist
Command
gnokey query vm/qeval -remote "https://rpc.gno.land" -data "gno.land/r/gnoswap/gov/governance.GetProposalTypeByProposalId()"
Result