prepare_buy_crate
Black Market: prepare (unsigned) buying sealed crate(s) for ETH: one transaction sending exactly price x qty (shop_info shows the price). Uses the live Games Master v2 sale, only while the Black Market event is live (otherwise answers not_on_sale and points to gm_flash_info and prepare_gm_flash_mint). Each crate holds one prize decided by a public draw when the market closes. Max 20 per call.
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>"
},
"name": "prepare_buy_crate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| qty | No | How many (default 1). | |
| wallet | Yes | Your own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate. |