Module

x/polkadot/types/bundle.ts>PortableRegistry

Package publishing for deno.land/x/polkadot
Latest
class PortableRegistry
implements ILookup
extends Struct
import { PortableRegistry } from "https://dotland.deno.dev/x/polkadot@0.2.45/types/bundle.ts";

Constructors

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

Properties

readonly
names: string[]
readonly
paramTypes: TypeInfoParams
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]
import PortableRegistry
import { PortableRegistry } from "https://dotland.deno.dev/x/polkadot@0.2.45/types/bundle.ts";