> For the complete documentation index, see [llms.txt](https://docs.artinals.com/artinals-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.artinals.com/artinals-protocol/market-module/functions-and-entry-points/get-trade-ledger.md).

# Get Trade Ledger

Function:

```
public fun get_trade_ledger<CURRENCY>(
    registry: &LedgerRegistry,
    collection_id: ID
): Option<ID>

```

**Description:**

* Retrieves the **ledger ID** for a given NFT collection.
* If the collection has a trade ledger, it returns the ID; otherwise, it returns `none`.
