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
TendermintQuerier
Class TendermintQuerier
Hierarchy
TendermintQuerier
Index
Constructors
constructor
Methods
get
Block
By
Height
get
Latest
Block
get
Latest
Validator
Set
get
Node
Info
get
Syncing
get
Validator
Set
By
Height
Constructors
constructor
new
Tendermint
Querier
(
url
:
string
)
:
TendermintQuerier
Parameters
url:
string
Returns
TendermintQuerier
Methods
get
Block
By
Height
get
Block
By
Height
(
req
:
GetBlockByHeightRequest
, headers
?:
HeadersInit
)
:
Promise
<
GetBlockByHeightResponse
>
Parameters
req:
GetBlockByHeightRequest
Optional
headers:
HeadersInit
Returns
Promise
<
GetBlockByHeightResponse
>
get
Latest
Block
get
Latest
Block
(
req
:
GetLatestBlockRequest
, headers
?:
HeadersInit
)
:
Promise
<
GetLatestBlockResponse
>
Parameters
req:
GetLatestBlockRequest
Optional
headers:
HeadersInit
Returns
Promise
<
GetLatestBlockResponse
>
get
Latest
Validator
Set
get
Latest
Validator
Set
(
req
:
GetLatestValidatorSetRequest
, headers
?:
HeadersInit
)
:
Promise
<
GetLatestValidatorSetResponse
>
Parameters
req:
GetLatestValidatorSetRequest
Optional
headers:
HeadersInit
Returns
Promise
<
GetLatestValidatorSetResponse
>
get
Node
Info
get
Node
Info
(
req
:
GetNodeInfoRequest
, headers
?:
HeadersInit
)
:
Promise
<
GetNodeInfoResponse
>
Parameters
req:
GetNodeInfoRequest
Optional
headers:
HeadersInit
Returns
Promise
<
GetNodeInfoResponse
>
get
Syncing
get
Syncing
(
req
:
GetSyncingRequest
, headers
?:
HeadersInit
)
:
Promise
<
GetSyncingResponse
>
Parameters
req:
GetSyncingRequest
Optional
headers:
HeadersInit
Returns
Promise
<
GetSyncingResponse
>
get
Validator
Set
By
Height
get
Validator
Set
By
Height
(
req
:
GetValidatorSetByHeightRequest
, headers
?:
HeadersInit
)
:
Promise
<
GetValidatorSetByHeightResponse
>
Parameters
req:
GetValidatorSetByHeightRequest
Optional
headers:
HeadersInit
Returns
Promise
<
GetValidatorSetByHeightResponse
>
Exports
<internal>
Tendermint
Querier
constructor
get
Block
By
Height
get
Latest
Block
get
Latest
Validator
Set
get
Node
Info
get
Syncing
get
Validator
Set
By
Height