UNPKG

610 BTypeScriptView Raw
1import type { Metadata } from '@polkadot/types';
2import type { RuntimeVersionPartial } from '@polkadot/types/interfaces';
3import type { DecoratedMeta } from '@polkadot/types/metadata/decorate/types';
4import type { Registry } from '@polkadot/types/types';
5import type { ApiDecoration, ApiTypes } from '../types';
6export interface VersionedRegistry<ApiType extends ApiTypes> {
7 decoratedApi?: ApiDecoration<ApiType>;
8 decoratedMeta?: DecoratedMeta;
9 isDefault?: boolean;
10 lastBlockHash?: Uint8Array | null;
11 metadata: Metadata;
12 registry: Registry;
13 runtimeVersion: RuntimeVersionPartial;
14}