Skip to main content

TransactionEvents

TransactionEvents​

class TransactionEvents

Events emitted during the successful execution of a transaction

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

init(events:)​

convenience init(events: [Event]) throws

digest()​

func digest() -> TransactionEventsDigest

events()​

func events() -> [Event]

toBcs()​

func toBcs() throws -> Data

Convert this type to BCS encoded bytes.

toDisplayString()​

func toDisplayString() -> String

Render this type as human-readable text.

Some types also print this through the binding's native string conversion; this method is the spelling every object type has.

The layout is meant for reading and can change between releases. Use the JSON or BCS conversions for output that gets parsed.

toJson()​

func toJson() throws -> String

Convert this type to a JSON encoded string.

fromBcs(bcs:)​

static func fromBcs(bcs: Data) throws -> TransactionEvents

Create this type from BCS encoded bytes.

fromJson(json:)​

static func fromJson(json: String) throws -> TransactionEvents

Create this type from a JSON encoded string.