Skip to main content

Event

@iota/grpc


@iota/grpc / Event

Type Alias: Event

Event = Message<"iota.grpc.v1.event.Event"> & object

Defined in: sdk/grpc/src/proto/iota/grpc/v1/event_pb.ts:31

An event.

Type Declaration​

bcs?​

optional bcs?: BcsData

This Event serialized as BCS.

Generated​

from field: optional iota.grpc.v1.bcs.BcsData bcs = 1;

bcsContents?​

optional bcsContents?: BcsData

BCS serialized bytes of the event.

Generated​

from field: optional iota.grpc.v1.bcs.BcsData bcs_contents = 6;

eventType?​

optional eventType?: string

The type of the event emitted.

Generated​

from field: optional string event_type = 5;

jsonContents?​

optional jsonContents?: Value

JSON rendering of the event.

Generated​

from field: optional google.protobuf.Value json_contents = 7;

module?​

optional module?: string

Module name of the top-level function invoked by a MoveCall command that triggered this event to be emitted.

Generated​

from field: optional string module = 3;

packageId?​

optional packageId?: ObjectId

Package ID of the top-level function invoked by a MoveCall command that triggered this event to be emitted.

Generated​

from field: optional iota.grpc.v1.types.ObjectId package_id = 2;

sender?​

optional sender?: Address

Address of the account that sent the transaction where this event was emitted.

Generated​

from field: optional iota.grpc.v1.types.Address sender = 4;

Generated​

from message iota.grpc.v1.event.Event