Skip to main content
Version: v0.27.0


Noir has support for Oracles via RPC calls. This means Noir will make an RPC call and use the return value for proof generation.

Since Oracles are not resolved by Noir, they are unconstrained functions

You can declare an Oracle through the #[oracle(<name>)] flag. Example:

unconstrained fn get_number_sequence(_size: Field) -> [Field] {}