prepare_air_run
AirRun: prepare (unsigned) one player step of an Air Run. action: approve_leader (allow a pilot to put you in their squad; leader, approved), enter (APPLY for an open run during its application window with a helicopter or private jet you own; runId, aircraftId, optional members (you first, then a Hacker role 2 and/or Inside Agent role 5, each of whom called approve_leader for you) with roles (1 for you), optional minOddsBps; no licence needed, just an aircraft you hold; everyone who applies is equal, the odds are fixed now; no payment), advance (runId; anyone, after the window: no applicant = the run expires, one = takes the seat, several = a drand lottery picks exactly one; call it again once the seat round is out), resolve (runId; anyone, after the flight's own drand round), void (runId; anyone, a seat draw or flight stalled for 6 hours; nobody loses anything), claim (collect your winnings).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| roles | No | For enter: one role per member, you = 1 (Pilot), others 2 (Hacker) or 5 (Inside Agent). | |
| runId | No | For enter, advance, resolve, void. | |
| action | Yes | approve_leader, enter, advance, resolve, void or claim. | |
| leader | No | For approve_leader: the pilot's wallet. | |
| wallet | Yes | Your own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate. | |
| members | No | For enter: wallets, you first (1 to 3). | |
| approved | No | For approve_leader: true (default) or false. | |
| aircraftId | No | For enter: your vehicle token id. | |
| minOddsBps | No | For enter: refuse if the odds come out lower (0 = no check). |