aftermath-ts-sdk - v3.3.3
    Preparing search index...

    Interface WrappedEventOnChain<Fields>

    An event record whose parsed payload is wrapped under parsedJson.pos0.

    The wrapper matches the shape used by the affected on-chain event versions; the remaining metadata fields have the same meaning as EventOnChain.

    interface WrappedEventOnChain<Fields> {
        bcs: string;
        id: { eventSeq: string; txDigest: string };
        packageId: string;
        parsedJson: { pos0: Fields };
        sender: string;
        timestampMs: string | number | undefined;
        transactionModule: string;
        type: string;
    }

    Type Parameters

    • Fields
    Index
    bcs: string

    The event's BCS representation as a string.

    id: { eventSeq: string; txDigest: string }

    The transaction digest and sequence number that identify the event.

    Type Declaration

    • eventSeq: string

      The event's zero-based sequence number as a decimal string.

    • txDigest: string

      The digest of the transaction that emitted the event.

    packageId: string

    The published package that defines the event type.

    parsedJson: { pos0: Fields }

    The event payload wrapped under the pos0 field.

    Type Declaration

    • pos0: Fields

      The parsed event payload.

    sender: string

    The Sui address that sent the transaction.

    timestampMs: string | number | undefined

    The event timestamp in epoch milliseconds, when the transport provides it.

    transactionModule: string

    The Move module that emitted the event.

    type: string

    The fully qualified Move event type.