MCPcopy
hub / github.com/subquery/subql / SubstrateRuntimeDatasource

Interface SubstrateRuntimeDatasource

packages/types/src/project.ts:232–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230 * @template M - The mapping type for the datasource (default: SubstrateMapping<SubstrateRuntimeHandler>).
231 */
232export interface SubstrateRuntimeDatasource<
233 M extends SubstrateMapping<SubstrateRuntimeHandler> = SubstrateMapping<SubstrateRuntimeHandler>,
234> extends BaseDataSource<SubstrateHandler, M> {
235 /**
236 * The kind of the datasource, which is `substrate/Runtime`.
237 * @type {SubstrateDatasourceKind.Runtime}
238 */
239 kind: SubstrateDatasourceKind.Runtime;
240}
241
242/**
243 * Represents a Substrate datasource, which can be either runtime or custom.

Callers

nothing calls this directly

Implementers 2

RuntimeDataSourceBasepackages/common-substrate/src/project/
SubstrateRuntimeDataSourceImplpackages/common-substrate/src/project/

Calls

no outgoing calls

Tested by

no test coverage detected