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

Function record_retractable_fact

pub unconstrained fn record_retractable_fact(
    contract_address: AztecAddress,
    scope: AztecAddress,
    fact_collection_type_id: Field,
    fact_collection_id: Field,
    fact_type_id: Field,
    payload: EphemeralArray<Field>,
    origin_block: OriginBlock,
)

Records a retractable fact into a collection: PXE prunes it if origin_block is reorg'd away. Re-recording an identical fact is a no-op.