Skip to main content

Event

No description

type Event {
transactionBlock: TransactionBlock
sendingModule: MoveModule
sender: Address
timestamp: DateTime
contents: MoveValue!
bcs: Base64!
}

Fields

Event.transactionBlock ● TransactionBlock object

The transaction block that emitted this event. This information is only available for events from indexed transactions, and not from transactions that have just been executed or dry-run.

Event.sendingModule ● MoveModule object

The Move module containing some function that when called by a programmable transaction block (PTB) emitted this event. For example, if a PTB invokes A::m1::foo, which internally calls A::m2::emit_event to emit an event, the sending module would be A::m1.

Event.sender ● Address object

Address of the sender of the event

Event.timestamp ● DateTime scalar

UTC timestamp in milliseconds since epoch (1/1/1970)

Event.contents ● MoveValue! non-null object

The event's contents as a Move value.

Event.bcs ● Base64! non-null scalar

The Base64 encoded BCS serialized bytes of the event.

Member Of

EventConnection object ● EventEdge object