cpu_fulfill_reveal
Settle open reveal requests that have not yet delivered their draw by sending the missing draw on-chain. Specify tokenIds to target specific cells, or provide requestId and source for a named request.
Instructions
Finish reveal requests you already opened that have not delivered their draw yet (call cpu_authenticate first). Where the network’s randomness mode leaves delivery to the player — see cpu_get_game_config — this sends the missing draw on-chain: it costs gas but no new reveal fee. With no arguments it works through every open request you own; pass tokenIds to settle only those cells. If a request you know exists is not listed, name it directly with requestId plus source and it is settled without that list. Requests already settled are reported as such, not as errors. On a network where the randomness source delivers draws itself this call refuses — there is nothing to settle by hand there.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Address of the randomness source the request named by requestId was opened at. | |
| tokenIds | No | Cells whose open reveal requests to settle. Omit to settle every open reveal request you own. | |
| requestId | No | Settle exactly this reveal request id, without asking the game API which requests are open — the way out when a request you know exists is not listed. Pass together with source. |