magicblock getRandomnessResult
magicblock_getRandomnessResultCheck if a Verifiable Random Function (VRF) request has been fulfilled on-chain and retrieve the random bytes or status.
Instructions
Check whether a VRF request has been fulfilled by reading the RandomnessRequest account on-chain. Returns fulfilled status, random bytes (if available), and the request metadata..
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint | No | MagicBlock Router endpoint: 'mainnet' or 'devnet' | |
| requestKey | Yes | VRF request PDA key from magicblock_requestRandomness |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | MCP content blocks returned to the caller. | |
| isError | No | True when the tool result represents an application-level error. |