---
# System prepended metadata

title: Understanding BDK chain

---

# Understanding BDK chain

A set of exercises that should help with deepening one's knowledge of `bdk_chain`.

## `TxGraph`

Transaction `tx_a` just got confirmed in block `block_1`. Re-create the scenario in `bdk_chain`. You should be able to create one `TxGraph` and one `LocalChain`, and make sure that when `tx_graph.try_list_chain_txs` is called, one confirmed tx is returned.
Hint: anchors