prepare_job_refund_kits
may change things: you confirm before it runsConvoy hit or Ledger job: prepare (unsigned) the kit refund for crews that did not get a seat (or for every crew of a voided game). Anyone can send it; it pays only the crews' leaders.
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."
},
"crewIds": {
"type": "array",
"description": "Crew ids to refund (at most 40).",
"items": {
"type": "number"
}
}
},
"required": [
"game",
"jobId",
"crewIds"
]
}