> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Function record_retractable_fact

Module: `noir_aztec::facts`

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

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.
