prepare_buy_weapon
Armory: prepare (unsigned) the purchase of a Season 1 weapon (id 1 to 12, see shop_info) for ZENI: an exact-amount approve, then buy. Needs the Stash rank the weapon lists. (Season 2 weapons 1 to 6 are prepare_weapon_buy.)
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>",
"weaponId": "<weaponId>"
},
"name": "prepare_buy_weapon"
}
}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. | |
| weaponId | Yes | 1 to 12. |