cpu_reveal
Reveal deposits of a cell you own. Sends an on-chain tx for randomness, paying ETH fee. First reveal free; re-reveal requires depleted deposits and costs $CPU.
Instructions
Reveal the deposits of a cell you own (call cpu_authenticate first). Sends an on-chain Cell tx requesting randomness, paying the source fee in ETH — keep some ETH. First reveal is free; a re-reveal needs all deposits depleted and costs $CPU (auto-approved once). How the draw arrives depends on the network’s randomness mode — see cpu_get_game_config. On a self-service network this call also settles the draw and returns the deposits it rolled; call it again on a cell whose reveal is still pending to finish that one, which costs no new fee.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenId | Yes | The tokenId of a cell you own to reveal. |