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

interface QueryProposalsRequest {
    depositor: string;
    pagination?: PageRequest;
    proposalStatus: ProposalStatus;
    voter: string;
}

Properties

depositor: string

depositor defines the deposit addresses from the proposals.

pagination?: PageRequest

pagination defines an optional pagination for the request.

proposalStatus: ProposalStatus

proposal_status defines the status of the proposals.

voter: string

voter defines the voter address for the proposals.