Methods
block
-
Parameters
-
Optional height: undefined | number
blockResults
-
Parameters
-
Optional height: undefined | number
blockchain
- blockchain(minHeight?: undefined | number, maxHeight?: undefined | number): Promise<BlockchainResponse>
-
Parameters
-
Optional minHeight: undefined | number
-
Optional maxHeight: undefined | number
commit
-
Parameters
-
Optional height: undefined | number
health
- health(): Promise<responses.HealthResponse>
-
Returns Promise<responses.HealthResponse>
subscribeTx
- subscribeTx(query?: requests.QueryString): Stream<TxEvent>
-
Parameters
-
Optional query: requests.QueryString
Returns Stream<TxEvent>
validators
-
Parameters
-
Optional height: undefined | number
Static connect
- connect(url: string): Promise<Client>
-
Parameters
Returns Promise<Client>
Static detectVersion
-
Parameters
Returns Promise<Client>
Broadcast transaction to mempool and do not wait for result
https://tendermint.com/rpc/#broadcasttxasync