Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryBlock ¶
func QueryBlock(ctx context.Context, rpcladdr string, height int64, logger *types.SyncLogger) (*tm_coretypes.ResultBlock, error)
QueryBlock gets the block for the specified height.
Types ¶
type BlockResult ¶
type BlockResult struct { Result *tm_coretypes.ResultBlock `json:"result"` // contains filtered or unexported fields }
BlockResult defines the JSONRPC 2.0 response structure for Tendermint's /block endpoint.
Click to show internal directories.
Click to hide internal directories.