Swap or bridge by deposit (nothing to sign)
create_deposit_swapOpens a swap or a transfer to another network paid by deposit: you get a one-time address and the exact amount to send there from any wallet or exchange, and the tokens bought are paid to toAddress. Nothing to sign or approve and no wallet connection: for an agent that can send a transfer but not sign contract calls, or for a person paying from an exchange. refundAddress is required: a deposit that cannot be swapped goes back there. A token Soheil Guard marks RISKY is refused unless acceptRisk is true. The price includes the usual swap fee. Returns swapId (for get_deposit_status), sendTo (address, memo when needed, token, amount), receive (expected and minimum), deadline and steps. Send exactly sendTo.amount before deadline. Works on the networks get_networks lists with send: true and on the EVM networks. No API key needed; a few a caller per hour.
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": {
"fromChainId": "<fromChainId>",
"fromToken": "<fromToken>",
"fromAmount": "<fromAmount>",
"toChainId": "<toChainId>",
"toToken": "<toToken>",
"toAddress": "<toAddress>",
"refundAddress": "<refundAddress>"
},
"name": "create_deposit_swap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toToken | Yes | The token bought, by its address on toChainId | |
| fromToken | Yes | The token sent, by its address on that network (find_token gives it; the network's coin as get_networks names it) | |
| toAddress | Yes | Where the tokens bought are paid, an address on toChainId | |
| toChainId | Yes | The network the tokens bought arrive on (fromChainId for a swap on one network) | |
| acceptRisk | No | true to buy a token Soheil Guard marks RISKY anyway (default false) | |
| fromAmount | Yes | How much is sent, a whole number in the token's smallest unit (1 USDC = 1000000) | |
| fromChainId | Yes | The network the deposit is sent on, a chainId from get_networks | |
| refundAddress | Yes | Your own address on fromChainId: a deposit that cannot be swapped is sent back there |