# `BaileysEx.Auth.KeyStore.TxRef`
[🔗](https://github.com/jeffhuen/baileys_ex/blob/main/lib/baileys_ex/auth/key_store.ex#L48)

Internal transaction-scoped KeyStore handle.

Callers receive this only inside `transaction/3` callbacks. It carries the
explicit transaction-local cache and mutation buffer used by the built-in
persistence-backed Signal store implementation.

This module exists to make the transaction contract and generated
documentation accurate for advanced custom store implementers. Application
code should not construct or persist these structs directly.

# `t`

```elixir
@type t() :: %BaileysEx.Auth.KeyStore.TxRef{
  pid: pid(),
  table: :ets.tid(),
  tx_table: :ets.tid()
}
```

Internal transaction-scoped auth key store reference.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
