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 "http://127.0.0.1:26657" -data "gno.land/r/gnoswap/gov/governance.GetProposalTypeByProposalId()"
Result