QueryProposalsRequest is the request type for the Query/Proposals RPC method.

from message cosmos.gov.v1.QueryProposalsRequest

Hierarchy

Constructors

Properties

depositor: string = ""

depositor defines the deposit addresses from the proposals.

from field: string depositor = 3;

pagination?: PageRequest

pagination defines an optional pagination for the request.

from field: cosmos.base.query.v1beta1.PageRequest pagination = 4;

proposalStatus: proto.cosmos.gov.v1.ProposalStatus = ProposalStatus.UNSPECIFIED

proposal_status defines the status of the proposals.

from field: cosmos.gov.v1.ProposalStatus proposal_status = 1;

voter: string = ""

voter defines the voter address for the proposals.

from field: string voter = 2;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.gov.v1.QueryProposalsRequest" = "cosmos.gov.v1.QueryProposalsRequest"

Methods