For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Last updated