Search
Preparing search index...
The search index is not available
Secret.js Docs
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Secret.js Docs
GovQuerier
Class GovQuerier
Hierarchy
GovQuerier
Index
Constructors
constructor
Methods
deposit
deposits
params
proposal
proposals
tally
Result
vote
votes
Constructors
constructor
new
Gov
Querier
(
url
:
string
)
:
GovQuerier
Parameters
url:
string
Returns
GovQuerier
Methods
deposit
deposit
(
req
:
QueryDepositRequest
, headers
?:
HeadersInit
)
:
Promise
<
QueryDepositResponse
>
Parameters
req:
QueryDepositRequest
Optional
headers:
HeadersInit
Returns
Promise
<
QueryDepositResponse
>
deposits
deposits
(
req
:
QueryDepositsRequest
, headers
?:
HeadersInit
)
:
Promise
<
QueryDepositsResponse
>
Parameters
req:
QueryDepositsRequest
Optional
headers:
HeadersInit
Returns
Promise
<
QueryDepositsResponse
>
params
params
(
req
:
<internal>
.
QueryParamsRequest
, headers
?:
HeadersInit
)
:
Promise
<
<internal>
.
QueryParamsResponse
>
Parameters
req:
<internal>
.
QueryParamsRequest
Optional
headers:
HeadersInit
Returns
Promise
<
<internal>
.
QueryParamsResponse
>
proposal
proposal
(
req
:
QueryProposalRequest
, headers
?:
HeadersInit
)
:
Promise
<
QueryProposalResponse
>
Parameters
req:
QueryProposalRequest
Optional
headers:
HeadersInit
Returns
Promise
<
QueryProposalResponse
>
proposals
proposals
(
req
:
QueryProposalsRequest
, headers
?:
HeadersInit
)
:
Promise
<
QueryProposalsResponse
>
Parameters
req:
QueryProposalsRequest
Optional
headers:
HeadersInit
Returns
Promise
<
QueryProposalsResponse
>
tally
Result
tally
Result
(
req
:
QueryTallyResultRequest
, headers
?:
HeadersInit
)
:
Promise
<
QueryTallyResultResponse
>
Parameters
req:
QueryTallyResultRequest
Optional
headers:
HeadersInit
Returns
Promise
<
QueryTallyResultResponse
>
vote
vote
(
req
:
QueryVoteRequest
, headers
?:
HeadersInit
)
:
Promise
<
QueryVoteResponse
>
Parameters
req:
QueryVoteRequest
Optional
headers:
HeadersInit
Returns
Promise
<
QueryVoteResponse
>
votes
votes
(
req
:
QueryVotesRequest
, headers
?:
HeadersInit
)
:
Promise
<
QueryVotesResponse
>
Parameters
req:
QueryVotesRequest
Optional
headers:
HeadersInit
Returns
Promise
<
QueryVotesResponse
>
Exports
<internal>
Gov
Querier
constructor
deposit
deposits
params
proposal
proposals
tally
Result
vote
votes