UNPKG

@polkadot/types

Version:
42 lines (41 loc) 1.11 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.runtime = void 0; const META_V1_TO_V2 = { metadata: { description: 'Returns the metadata of a runtime', params: [], type: 'OpaqueMetadata' } }; exports.runtime = { Metadata: [ { methods: { metadata_at_version: { description: 'Returns the metadata at a given version.', params: [ { name: 'version', type: 'u32' } ], type: 'Option<OpaqueMetadata>' }, metadata_versions: { description: 'Returns the supported metadata versions.', params: [], type: 'Vec<u32>' }, ...META_V1_TO_V2 }, version: 2 }, { methods: { ...META_V1_TO_V2 }, version: 1 } ] };