Documentation ¶
Index ¶
- type 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
// contains filtered or unexported fields
}
func NewAPI ¶
func NewAPI(cfg config.DataSource) API
func (*API) BlockDataGet ¶
func (*API) BlockResults ¶
func (*API) GetAssetInfo ¶
type GenesisChunk ¶
Click to show internal directories.
Click to hide internal directories.