# `Envelope`

A class in `fastatp.peerapp` ([source](https://github.com/jacoblapenna/fastatp/blob/main/fastatp/peerapp.py#L69)).

```python
Envelope(
    issuer_did: str,
    record_cid: CID,
    received_at: str,
    record: Lexicon,
    collection: str,
    rkey: str,
)
```

Verified context handed to every handler.

The record is already fully verified (commit signature, MST membership,
rotation-key ban) and parsed to its Lexicon instance before a handler runs.
`context_id` is read generically off the record if present — PeerApp
never assumes a field shape.

## Attributes

- `issuer_did: str`
- `record_cid: CID`
- `received_at: str`
- `record: Lexicon`
- `collection: str`
- `rkey: str`
- `context_id: str | None`
