Versions in this module Expand all Collapse all v1 v1.1.0 Oct 27, 2024 v1.0.0 Sep 14, 2024 Changes in this version + type API struct + func NewAPI(cfg config.DataSource) API + func (api *API) Block(ctx context.Context, level pkgTypes.Level) (pkgTypes.ResultBlock, error) + func (api *API) BlockData(ctx context.Context, level pkgTypes.Level) (pkgTypes.BlockData, error) + func (api *API) BlockDataGet(ctx context.Context, level pkgTypes.Level) (pkgTypes.BlockData, error) + func (api *API) BlockResults(ctx context.Context, level pkgTypes.Level) (pkgTypes.ResultBlockResults, error) + func (api *API) Genesis(ctx context.Context) (types.Genesis, error) + func (api *API) GetAssetInfo(ctx context.Context, asset string) (types.DenomMetadataResponse, error) + func (api *API) Head(ctx context.Context) (types.ResultBlock, error) + func (api *API) Status(ctx context.Context) (types.Status, error) + type GenesisChunk struct + Chunk int64 + Data []byte + Total int64