Versions in this module Expand all Collapse all v1 v1.3.24 Aug 17, 2022 v1.3.23 Aug 17, 2022 v1.3.22 Aug 16, 2022 Changes in this version + func ParseBlockResp(rawRespReader io.Reader) (*model.Block, *model.RawBlock, error) + func ParseBlockResultsResp(rawRespReader io.Reader) (*model.BlockResults, error) + func ParseGenesisResp(rawRespReader io.Reader, strictParsing bool) (*genesis.Genesis, error) + type GenesisResp struct + ID int64 + Jsonrpc string + Result GenesisRespResult + type GenesisRespResult struct + Genesis genesis.Genesis + type HTTPClient struct + func NewHTTPClient(tendermintRPCUrl string, strictGenesisParsing bool) *HTTPClient + func NewInsecureHTTPClient(tendermintRPCUrl string, strictGenesisParsing bool) *HTTPClient + func (client *HTTPClient) Block(height int64) (*usecase_model.Block, *usecase_model.RawBlock, error) + func (client *HTTPClient) BlockResults(height int64) (*usecase_model.BlockResults, error) + func (client *HTTPClient) Genesis() (*genesis.Genesis, error) + func (client *HTTPClient) LatestBlockHeight() (int64, error) + func (client *HTTPClient) Status() (*map[string]interface{}, error) + type RawBlockResp struct + ID int + Jsonrpc string + Result usecase_model.RawBlock + type RawBlockResults struct + BeginBlockEvents []RawBlockResultsEvent + ConsensusParamUpdates RawBlockResultsConsensusParamUpdates + EndBlockEvents []RawBlockResultsEvent + Height string + TxsResults []RawBlockResultsTxsResult + ValidatorUpdates []RawBlockResultsValidatorUpdate + type RawBlockResultsConsensusParamUpdates struct + Block struct{ ... } + Evidence struct{ ... } + Validator struct{ ... } + type RawBlockResultsEvent struct + Attributes []RawBlockResultsEventAttribute + Type string + type RawBlockResultsEventAttribute struct + Index bool + Key string + Value string + type RawBlockResultsResp struct + ID int + Jsonrpc string + Result RawBlockResults + type RawBlockResultsTxsResult struct + Code int + Codespace string + Data string + Events []RawBlockResultsEvent + GasUsed string + GasWanted string + Info string + Log string + type RawBlockResultsTxsResultLog struct + Events []RawBlockResultsEvent + MaybeMsgIndex *int + type RawBlockResultsValidatorUpdate struct + MaybePower string + PubKey struct{ ... }