Class AppCallLogs

The logged messages from an app call along with the app ID and outer transaction ID. Logs appear in the same order that they were emitted.

Hierarchy

Constructors

  • Creates a new AppCallLogs object.

    Parameters

    • __namedParameters: { applicationIndex: number | bigint; logs: Uint8Array[]; txid: string }
      • applicationIndex: number | bigint
      • logs: Uint8Array[]
      • txid: string

    Returns AppCallLogs

Properties

applicationIndex: number | bigint

The application from which the logs were generated

attribute_map: Record<string, string>
logs: Uint8Array[]

An array of logs

txid: string

The transaction ID of the outer app call that lead to these logs

Methods

  • Get an object ready for encoding to either JSON or msgpack.

    Parameters

    • binary: boolean = false

      Use true to indicate that the encoding can handle raw binary objects (Uint8Arrays). Use false to indicate that raw binary objects should be converted to base64 strings. True should be used for objects that will be encoded with msgpack, and false should be used for objects that will be encoded with JSON.

    Returns Record<string, any>

Generated using TypeDoc