This field is a simplified representation of the ReceiptView structure from near-primitives.

Implements

Constructors

  • Parameters

    • receiptKind: ReceiptKind

      Defined the type of the Receipt: Action or Data representing the ActionReceipt and DataReceipt.

    • receiptId: string

      The ID of the Receipt of the CryptoHash type.

    • receiverId: string

      The receiver account id of the Receipt.

    • predecessorId: string

      The predecessor account id of the Receipt.

    • status: ExecutionStatus

      Represents the status of ExecutionOutcome of the Receipt.

    • Optional executionOutcomeId: string

      The id of the ExecutionOutcome for the Receipt. Returns null if the Receipt isn’t executed yet and has a postponed status.

    • logs: string[] = []

      The original logs of the corresponding ExecutionOutcome of the Receipt.

      Note: not all the logs might be parsed as JSON Events (Events).

    Returns Receipt

Properties

executionOutcomeId?: string

The id of the ExecutionOutcome for the Receipt. Returns null if the Receipt isn’t executed yet and has a postponed status.

logs: string[] = []

The original logs of the corresponding ExecutionOutcome of the Receipt.

Note: not all the logs might be parsed as JSON Events (Events).

predecessorId: string

The predecessor account id of the Receipt.

receiptId: string

The ID of the Receipt of the CryptoHash type.

receiptKind: ReceiptKind

Defined the type of the Receipt: Action or Data representing the ActionReceipt and DataReceipt.

receiverId: string

The receiver account id of the Receipt.

Represents the status of ExecutionOutcome of the Receipt.

Accessors

  • get events(): Event[]
  • Returns an Array of Events for the Receipt, if any. This might be empty if the logs field is empty or doesn’t contain JSON Events compatible log records.

    Returns Event[]

Methods

Generated using TypeDoc