prepare_night_run_back
may change things: you confirm before it runsNight Run: prepare (unsigned) a back on an entrant as a spectator: an approve for the exact amount, then back. Winning backers share the spectator pot.
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": "The race."
},
"entrantId": {
"type": "number",
"description": "The entrant to back (see race_list)."
},
"amountZeni": {
"type": "string",
"description": "ZENI to back, for example \"500\"."
}
},
"required": [
"wallet",
"raceId",
"entrantId",
"amountZeni"
]
}