prepare_night_run_back
Night 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"wallet": "<wallet>",
"raceId": "<raceId>",
"entrantId": "<entrantId>",
"amountZeni": "<amountZeni>"
},
"name": "prepare_night_run_back"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raceId | Yes | The race. | |
| wallet | Yes | Your own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate. | |
| entrantId | Yes | The entrant to back (see race_list). | |
| amountZeni | Yes | ZENI to back, for example "500". |