prepare_approve_leader
may change things: you confirm before it runsCrews: prepare (unsigned) your OK for a leader to put you in their squad (night_run, convoy, ledger, vehicle_heist, raid). Every member other than the leader must do this first. approved=false revokes it. Approvals expire after a while in the vehicle heist, convoy and Ledger, are used up by a Night Run entry, and in the apartment raid they last 1 day (renew your yes daily; approved=false clears it at once). Squad sizes and role ids DIFFER per game. Night Run: 1 to 4 wallets; roles 1 Driver, 2 Hacker, 3 Muscle, 4 Inside Agent; required: Driver. convoy hit: 1 to 5 wallets; roles 1 Driver, 2 Hacker, 3 Muscle, 4 Face, 5 Inside Agent, 6 Pilot; required: Driver. Ledger job: 2 to 5 wallets; roles 1 Driver, 2 Hacker, 3 Muscle, 4 Face, 5 Inside Agent, 6 Pilot; required: Driver and Hacker. vehicle heist: 2 to 5 wallets; roles 1 Driver, 2 Hacker, 3 Muscle, 4 Face, 5 Inside Agent; required: Driver. apartment raid: 2 to 4 wallets; roles 1 Driver, 2 Hacker, 3 Muscle, 4 Face, 5 Inside Agent; roles optional (0 = none). A role is a label: nothing checks that a Driver owns a vehicle or a Pilot an aircraft, and a Pilot needs no aircraft in convoy and Ledger. The ids 1 to 5 mean the same in the vehicle heist, the apartment raid, the convoy hit and the Ledger job (6 Pilot only in convoy and Ledger). The Night Run is NOT aligned: there 4 is Inside Agent and there is no Face, so check the id before you send.
Input schema
{
"type": "object",
"properties": {
"wallet": {
"type": "string",
"description": "Your own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate."
},
"game": {
"type": "string",
"description": "Which game.",
"enum": [
"night_run",
"convoy",
"ledger",
"vehicle_heist",
"raid"
]
},
"leader": {
"type": "string",
"description": "The leader's wallet."
},
"approved": {
"type": "boolean",
"description": "Default true."
}
},
"required": [
"wallet",
"game",
"leader"
]
}