prepare_gm_flash_mint
Games Master paid flash mint: prepare (unsigned) one transaction buying quantity (1 to 20) from the flash sale that is open right now, for exactly price x quantity in ETH (read live). product is crate, portal or mercenary (optional: the open sale is used); mercenaries also need mercType 0 Shinobi, 1 Operator, 2 Breacher, 3 Ghost, 4 Marksman. Refused when no event is live, the cap is sold out, the input is bad or the wallet cannot afford it. The wallet is simulated. You sign and send it yourself, before the event ends.
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_gm_flash_mint"
}
}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 pick rights, and to simulate. | |
| product | No | Optional: which flash sale. Omit to use whichever is open. | |
| mercType | No | Mercenaries only: 0 to 4. | |
| quantity | No | How many (1 to 20, default 1). |