DecodableEvent class
The slice of an executed/simulated transaction result the decoders need. Transport-agnostic: construct from a gRPC event proto with DecodableEvent.fromProto, or structurally from any transport's fields.
Constructors
- DecodableEvent({String? eventType, String? packageId, String? module, String? name, Object? bcs})
-
const
- DecodableEvent.fromProto(Event e)
-
Build from the gRPC
sui.rpc.v2.Eventproto (execute or simulate with events included).factory
Properties
- bcs → Object?
-
Canonical BCS payload; a Uint8List, or a base64 String on transports
that deliver it encoded.
final
- eventType → String?
-
Full type tag
0xpkg::module::Name.final - hashCode → int
-
The hash code for this object.
no setterinherited
- module → String?
-
Module short name, when supplied separately from a full type tag.
final
- name → String?
-
Struct name, when supplied separately from a full type tag.
final
- packageId → String?
-
Defining package id, when the transport supplies it separately.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited