cpu_fulfill_reveal
Settle pending reveal requests by sending the missing draw on-chain, paying gas to avoid a second reveal. Omit arguments to process all open requests you own, or pass tokenIds to settle specific cells.
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 pays for no second reveal. 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. |