Tendermint
API
- class terra_sdk.client.lcd.api.tendermint.TendermintAPI(c)[source]
- block_info(height=None)[source]
Fetches the block information for a given height. If no height is given, defaults to latest block.
- Parameters
height (int, optional) – block height.
- Returns
block info
- Return type
dict
- node_info()[source]
Fetches the curent connected node’s information.
- Returns
node information
- Return type
dict