Constructors
constructor
- new GovQuerier(url): Query.GovQuerier
Methods
deposit
- deposit(req, headers?): Promise<QueryDepositResponse>
Parameters
req: QueryDepositRequest
Optional
headers: HeadersInit
Returns Promise<QueryDepositResponse>
deposits
- deposits(req, headers?): Promise<QueryDepositsResponse>
Parameters
req: QueryDepositsRequest
Optional
headers: HeadersInit
Returns Promise<QueryDepositsResponse>
params
- params(req, headers?): Promise<QueryParamsResponse>
Parameters
req: QueryParamsRequest
Optional
headers: HeadersInit
Returns Promise<QueryParamsResponse>
proposal
- proposal(req, headers?): Promise<QueryProposalResponse>
Parameters
req: QueryProposalRequest
Optional
headers: HeadersInit
Returns Promise<QueryProposalResponse>
proposals
- proposals(req, headers?): Promise<QueryProposalsResponse>
Parameters
req: QueryProposalsRequest
Optional
headers: HeadersInit
Returns Promise<QueryProposalsResponse>
tallyResult
- tallyResult(req, headers?): Promise<QueryTallyResultResponse>
Parameters
req: QueryTallyResultRequest
Optional
headers: HeadersInit
Returns Promise<QueryTallyResultResponse>
vote
- vote(req, headers?): Promise<QueryVoteResponse>
Parameters
req: QueryVoteRequest
Optional
headers: HeadersInit
Returns Promise<QueryVoteResponse>
votes
- votes(req, headers?): Promise<QueryVotesResponse>
Parameters
req: QueryVotesRequest
Optional
headers: HeadersInit
Returns Promise<QueryVotesResponse>