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.
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": {
"token": "<token>",
"bot_type": "<bot_type>",
"budget_usd": "<budget_usd>"
},
"name": "prepare_bot"
}
}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 |