Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/types/generic/index.ts>GenericEvent

Package publishing for deno.land/x/polkadot
Go to Latest
class GenericEvent
implements IEvent<Codec[]>
extends Struct
import { GenericEvent } from "https://deno.land/x/polkadot@0.2.12/types/generic/index.ts";

Constructors

new
GenericEvent(registry: Registry, _value?: Uint8Array)

Properties

readonly
data: IEvent<Codec[]>["data"]
readonly
index: EventId
readonly
meta: EventMetadataLatest
readonly
method: string
readonly
section: string
readonly
typeDef: TypeDef[]

Methods

toHuman(isExpanded?: boolean): Record<string, AnyJson>