UNPKG

640 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/index.js';
6export interface VersionedRegistry<ApiType extends ApiTypes> {
7 counter: number;
8 decoratedApi?: ApiDecoration<ApiType>;
9 decoratedMeta?: DecoratedMeta;
10 isDefault?: boolean;
11 lastBlockHash?: Uint8Array | null;
12 metadata: Metadata;
13 registry: Registry;
14 runtimeVersion: RuntimeVersionPartial;
15}