prepare_roster
Roster: prepare (unsigned) enroll (list one of your characters so get_roster shows it), fill (put an enrolled character in a seat of your next squad for a game and ref; replaces your earlier seat with the same role) or clear (empty your seats for a game and ref). Costs nothing but gas.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | For fill and clear: the game's job / race / hit id. | |
| game | No | For fill and clear: the game contract address (0x) the squad is for. | |
| role | No | For fill: the squad role the character fills. | |
| action | Yes | enroll, fill or clear. | |
| wallet | Yes | Your own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate. | |
| tokenId | No | For enroll and fill. | |
| collection | No | For enroll and fill: the character collection (0x). |