loot_settle_opens
Settle pending box opens by submitting drand proofs to credit loot to requesting wallets. Pass specific request IDs or scan recent entries, automatically skipping already settled or not-yet-published rounds.
Instructions
Finish pending box opens: submitOpen is permissionless, so any wallet can settle any request once its drand round is published. Pass ids, or let it scan the newest requests on the ledger. Skips settled requests and rounds that are not published yet. Needs LOOT_AGENT_PRIVATE_KEY (to send; the opened loot always credits the requesting wallet).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | ||
| wallet | No | only settle requests from this wallet | |
| scan_last | No | how many newest request ids to scan when ids is not given, default 200 |