# TransactionGroupInfo

> Information about a decoded transaction group.

```python
from x402_algorand import TransactionGroupInfo
```

```python
class TransactionGroupInfo(
    transactions: list[DecodedTransactionInfo],
    group_id: str | None = None,
    total_fee: int = 0,
    has_fee_payer: bool = False,
    fee_payer_index: int | None = None,
    payment_index: int = 0,
)
```

Information about a decoded transaction group.

Provides summary information about a group of transactions.

## Constructor parameters

- `transactions` (`list[DecodedTransactionInfo]`, required):

- `group_id` (`str | None`, default `None`):

- `total_fee` (`int`, default `0`):

- `has_fee_payer` (`bool`, default `False`):

- `fee_payer_index` (`int | None`, default `None`):

- `payment_index` (`int`, default `0`):

## Attributes

- `transactions` (`list[DecodedTransactionInfo]`):
List of decoded transaction info.

- `group_id` (`str | None`):
Base64 encoded group ID (if present).

- `total_fee` (`int`):
Sum of all transaction fees.

- `has_fee_payer` (`bool`):
Whether a fee payer transaction exists.

- `fee_payer_index` (`int | None`):
Index of the fee payer transaction or None.

- `payment_index` (`int`):
Index of the payment transaction.

Source: [x402_algorand/types.py](https://github.com/x402-avm/x402-algorand/blob/main/x402_algorand/types.py#L121)

Source: https://x402-avm.github.io/reference/python/x402-algorand/transaction-group-info
