Action is the structure with the fields and data relevant to an ActionReceipt.

Basically, Action is the structure that indexer developers will be encouraged to work the most in their action-oriented indexers.

Constructors

  • Parameters

    • receiptId: string

      The id of the corresponding Receipt

    • receiptStatus: ExecutionStatus

      The status of the corresponding Receipt

    • predecessorId: string

      The predecessor account id of the corresponding Receipt. This field is a piece of denormalization of the structures (Receipt and Action).

    • receiverId: string

      The receiver account id of the corresponding Receipt. This field is a piece of denormalization of the structures (Receipt and Action).

    • signerId: string

      The signer account id of the corresponding Receipt

    • signerPublicKey: string

      The signer’s PublicKey for the corresponding Receipt

    • operations: Operation[]

      An array of Operation for this ActionReceipt

    • logs: string[] = []

      An array of log messages for this ActionReceipt

    Returns Action

Properties

logs: string[] = []

An array of log messages for this ActionReceipt

operations: Operation[]

An array of Operation for this ActionReceipt

predecessorId: string

The predecessor account id of the corresponding Receipt. This field is a piece of denormalization of the structures (Receipt and Action).

receiptId: string

The id of the corresponding Receipt

receiptStatus: ExecutionStatus

The status of the corresponding Receipt

receiverId: string

The receiver account id of the corresponding Receipt. This field is a piece of denormalization of the structures (Receipt and Action).

signerId: string

The signer account id of the corresponding Receipt

signerPublicKey: string

The signer’s PublicKey for the corresponding Receipt

Accessors

  • get events(): Event[]
  • An array of events complying to NEP-0297 standard for this ActionReceipt

    Returns Event[]

Methods

Generated using TypeDoc