UNPKG

673 BTypeScriptView Raw
1/// <reference types="bn.js" />
2import type { Metadata } from '@polkadot/types/metadata';
3import type { DecoratedMeta } from '@polkadot/types/metadata/decorate/types';
4import type { Text } from '@polkadot/types/primitive';
5import type { Registry } from '@polkadot/types/types';
6import type { BN } from '@polkadot/util';
7import type { ApiDecoration, ApiTypes } from '../types';
8export interface VersionedRegistry<ApiType extends ApiTypes> {
9 decoratedApi?: ApiDecoration<ApiType>;
10 decoratedMeta?: DecoratedMeta;
11 isDefault?: boolean;
12 lastBlockHash?: Uint8Array | null;
13 metadata: Metadata;
14 registry: Registry;
15 specName: Text;
16 specVersion: BN;
17}