magicblock getRandomnessResult
magicblock_getRandomnessResultChecks whether a VRF request has been fulfilled by reading the on-chain RandomnessRequest account, returning status, random bytes, and metadata.
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. Price: $0.01.
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. |