prepare_open_crate
Black Market: prepare (unsigned) opening a crate you hold. One step: the open call burns the crate and pays its prize (an Armory weapon, a bundle of 3 Dispensary items, or rarely the Okami) to you; the prize was fixed by a public drand draw published about 30 seconds after the event ended, so there is no second reveal step once the draw is posted. Refused while the crate is still sealed (with the wait), if you do not hold it, or if it was already opened. If the draw's round has passed but is not yet posted on chain, pass drandSignature (drand's 48 byte signature for that round) to post it in the same call. Costs only gas.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wallet": "<wallet>",
"crateId": "<crateId>"
},
"name": "prepare_open_crate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | Yes | Your own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate. | |
| crateId | Yes | The crate token id (my_shop_items lists yours). | |
| contractSet | No | Optional: "v2" (live Games Master v2 contracts) or "legacy" (retired original Season 1 contracts). Only needed if you hold the same id in both; otherwise v2 is tried first, then legacy. | |
| drandSignature | No | Optional: 0x plus 96 hex characters, only needed when the draw is passed but not yet posted. |