prepare_night_run_enter
may change things: you confirm before it runsNight Run: prepare (unsigned) entry into an open race as the leader. Pass a vehicleId you hold (only a Sentinel or a Courier can race; a Hauler, helicopter or jet is refused; pays the entry stake into the pot, can win it) or 0 for a free city loaner (no stake, can never win the pot). Squad 1 to 4 wallets. Roles: 1 Driver (required), 2 Hacker, 3 Muscle, 4 Inside Agent. In the Night Run roles only split the prize (Driver 40, Hacker 25, Muscle 20, Inside Agent 15); they add no odds.
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."
},
"raceId": {
"type": "number",
"description": "From race_list."
},
"vehicleId": {
"type": "number",
"description": "A vehicle token you hold, or 0 for a loaner."
},
"house": {
"type": "boolean",
"description": "Only for the team's own HOUSE wallets (they hold the house role and must use the house door; everyone else leaves this out). A house entry needs a vehicle."
},
"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",
"raceId"
]
}