Skip to main content
Module

x/polkadot/types/index.ts>PortableRegistry

Package publishing for deno.land/x/polkadot
Go to Latest
class PortableRegistry
implements ILookup
extends Struct
Re-export
import { PortableRegistry } from "https://deno.land/x/polkadot@0.2.25/types/index.ts";

Constructors

new
PortableRegistry(
registry: Registry,
value?: Uint8Array,
isContract?: boolean,
)

Properties

readonly
names: string[]
readonly
types: Vec<PortableType>

Methods

getName(lookupId: SiLookupTypeId | LookupString | number): string | undefined
getSiType(lookupId: SiLookupTypeId | LookupString | number): SiType
register(): void
sanitizeField(name: Option<Text>): [string | null, string | null]