Documentation

    Type Alias SuiEvent

    SuiEvent:
        | {
            bcs: string;
            bcsEncoding: "base64";
            id: EventId;
            packageId: string;
            parsedJson: unknown;
            sender: string;
            timestampMs?: string
            | null;
            transactionModule: string;
            type: string;
        }
        | {
            bcs: string;
            bcsEncoding: "base58";
            id: EventId;
            packageId: string;
            parsedJson: unknown;
            sender: string;
            timestampMs?: string
            | null;
            transactionModule: string;
            type: string;
        }

    Type declaration

    • {
          bcs: string;
          bcsEncoding: "base64";
          id: EventId;
          packageId: string;
          parsedJson: unknown;
          sender: string;
          timestampMs?: string | null;
          transactionModule: string;
          type: string;
      }
      • bcs: string
      • bcsEncoding: "base64"
      • id: EventId

        Sequential event ID, ie (transaction seq number, event seq number). 1) Serves as a unique event ID for each fullnode 2) Also serves to sequence events for the purposes of pagination and querying. A higher id is an event seen later by that fullnode. This ID is the "cursor" for event querying.

      • packageId: string

        Move package where this event was emitted.

      • parsedJson: unknown

        Parsed json value of the event

      • sender: string

        Sender's Sui address.

      • OptionaltimestampMs?: string | null

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

      • transactionModule: string

        Move module where this event was emitted.

      • type: string

        Move event type.

    • {
          bcs: string;
          bcsEncoding: "base58";
          id: EventId;
          packageId: string;
          parsedJson: unknown;
          sender: string;
          timestampMs?: string | null;
          transactionModule: string;
          type: string;
      }
      • bcs: string
      • bcsEncoding: "base58"
      • id: EventId

        Sequential event ID, ie (transaction seq number, event seq number). 1) Serves as a unique event ID for each fullnode 2) Also serves to sequence events for the purposes of pagination and querying. A higher id is an event seen later by that fullnode. This ID is the "cursor" for event querying.

      • packageId: string

        Move package where this event was emitted.

      • parsedJson: unknown

        Parsed json value of the event

      • sender: string

        Sender's Sui address.

      • OptionaltimestampMs?: string | null

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

      • transactionModule: string

        Move module where this event was emitted.

      • type: string

        Move event type.

    MMNEPVFCICPMFPCPTTAAATR