For the complete documentation index, see llms.txt.
aztec-nr - noir_aztec::facts

Function delete_fact_collection

pub unconstrained fn delete_fact_collection(
    contract_address: AztecAddress,
    scope: AztecAddress,
    fact_collection_type_id: Field,
    fact_collection_id: Field,
)

Deletes a fact collection, removing all its facts from PXE storage.

Collections must be eventually deleted to reclaim storage and to stop reprocessing past the lifespan of the workflows they enable.

A no-op if no such collection exists.