Module

x/polkadot/mod.ts>types.GenericEvent

Package publishing for deno.land/x/polkadot
Go to Latest
class types.GenericEvent
implements IEvent<Codec[]>
extends Struct
import { types } from "https://dotland.deno.dev/x/polkadot@0.2.35/mod.ts";
const { GenericEvent } = types;

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>