prepare_job_apply
may change things: you confirm before it runsConvoy hit or Ledger job: prepare (unsigned) your crew's application for an open game: an approve for the exact kit price, then enter. If more crews apply than there are seats, a drand lottery picks the seats and the rest are refunded their kit (prepare_job_refund_kits). Convoy: 1 to 5 wallets, Driver required (a solo Driver can play). Ledger: 2 to 5 wallets, Driver and Hacker required. Roles for both: 1 Driver, 2 Hacker, 3 Muscle, 4 Face, 5 Inside Agent, 6 Pilot (same ids 1 to 5 as the heist and the raid). No vehicle is taken in these two games and a Pilot needs no aircraft. Only the Muscle can bring a weapon, and the weapons module is not connected to convoy or Ledger in the current testnet round, so today it adds nothing (the next testnet round connects it; check city_state.switches).
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": "convoy or ledger.",
"enum": [
"convoy",
"ledger"
]
},
"jobId": {
"type": "number",
"description": "The hit or job id (see city_state / /api/uc/convoy and /api/uc/ledger)."
},
"members": {
"type": "array",
"description": "Crew wallets, YOU first (each other member must have called prepare_approve_leader for you). Omit to go alone where the game allows. The size limit is per game: night_run 1-4, convoy 1-5, ledger 2-5, vehicle_heist 2-5, raid 2-4.",
"items": {
"type": "string"
}
},
"roles": {
"type": "array",
"description": "One role number per member, same order. Role ids differ per game (see this tool's description).",
"items": {
"type": "number"
}
}
},
"required": [
"wallet",
"game",
"jobId"
]
}