Prepare a trading bot (non-custodial)
prepare_botPrepares an ETH-funded spot grid or infinity grid bot on a token from list_bot_presets, sized by budget_usd, and returns a signing link on nlyra.xyz (valid 30 min) — plus, when a wallet is given, the unsigned transaction. The bot runs in The Desk's escrow contract under the user's own wallet; only that wallet can stop it and withdraw. Bots are refused on tokens our risk gate blocks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | a token from list_bot_presets | |
| wallet | No | the wallet that will sign; with it you also get the raw transaction | |
| bot_type | Yes | ||
| budget_usd | Yes | how many dollars of ETH to put in the bot |