import { type Registry } from "https://deno.land/x/polkadot@0.2.17/types-codec/types/registry.ts";
Properties
optional
createdAtHash: IU8aMethods
findMetaCall(callIndex: Uint8Array): CallFunction
findMetaError(errorIndex: Uint8Array | { error: BN; index: BN; } | { error: BN | Uint8Array; index: BN; }): RegistryError
findMetaEvent(eventIndex: Uint8Array): CodecClass<any>
createClassUnsafe<T extends Codec = Codec, K extends string = string>(type: K): CodecClass<T>
getClassName(clazz: CodecClass): string | undefined
getOrThrow<T extends Codec = Codec, K extends string = string>(name: K, msg?: string): CodecClass<T>
getOrUnknown<T extends Codec = Codec, K extends string = string>(name: K): CodecClass<T>
hash(data: Uint8Array): IU8a
register(type: CodecClass | RegistryTypes): void
register(name: string, type: CodecClass): void
register(arg1: string | CodecClass | RegistryTypes, arg2?: CodecClass): void