caller_seed and to MagicBlock’s VRF signer identity. Requests made through #[vrf] are scoped to your program: the VRF program signs the callback with PDA(["identity", your_program_id], VRF_PROGRAM_ID). Your callback enforces this with #[vrf_callback], which adds that signer check to the accounts struct:
InvalidProof and Unauthorized so incorrect signatures or unauthorized callers are rejected before your game logic runs. The VRF program has a published audit, so treat that report as the source of truth before going live.
The request and the callback are separate transactions. The oracle must fulfill in a later slot than the request, and the VRF program applies no age limit when it delivers a result. A request that is not fulfilled can be purged by anyone after about two minutes (the TTL is 120 s, counted in 4-second units), and until it is purged it can still be fulfilled. Make your callback reject results for requests your program no longer expects, such as a round that has already closed.
For actionable integration guidance — seed selection, callback validation, and state management — see Best Practices.
Security & Audits
Read the audit report and security notes.
Solana VRF
Return to the Solana VRF overview.

