# ClientAvmSigner

> Protocol for AVM client-side signing operations.

```python
from x402_algorand import ClientAvmSigner
```

```python
class ClientAvmSigner(Protocol)
```

Protocol for AVM client-side signing operations.

Used by x402Client to sign transactions for payment payloads.

The client signer is responsible for:
- Providing the sender address
- Signing transactions where the client is the sender

## Methods

### `sign_transactions`

```python
def sign_transactions(
    unsigned_txns: list[bytes],
    indexes_to_sign: list[int],
) -> list[bytes | None]
```

Sign specified transactions in a group.

Only signs transactions at the specified indexes.
Returns None for transactions that should not be signed by this signer.

**Parameters**

- `unsigned_txns` (`list[bytes]`, required):
List of unsigned transaction bytes (msgpack encoded).

- `indexes_to_sign` (`list[int]`, required):
Indexes of transactions this signer should sign.

**Returns**

- `returns` (`list[bytes | None]`):
List parallel to unsigned_txns, with signed transaction bytes
at indexes_to_sign and None elsewhere.

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

Source: https://x402-avm.github.io/reference/python/x402-algorand/client-avm-signer
