Algorand TypeScript Testing
    Preparing search index...

    Class TransactionGroup

    Represents a group of transactions.

    Index

    Properties

    itxnGroups: ItxnGroup[] = []
    latestTimestamp: number
    transactions: Transaction[]

    Accessors

    • get activeApplicationId(): uint64

      Gets the active application ID.

      Returns uint64

      The active application ID.

      If there are no transactions in the group or the active transaction is not an application call.

    Methods

    • Gets an inner transaction group by index.

      Parameters

      • Optionalindex: Uint64Compat

        The index of the group. If not provided, the last group is returned.

      Returns ItxnGroup

      The inner transaction group.

      If the index is invalid or there are no previous inner transactions.

    • Gets the scratch slot of the active transaction.

      Parameters

      • index: Uint64Compat

        The index of the scratch slot.

      Returns uint64 | bytes

      The scratch slot value.