LTC/DOGE/BCH deposit address (THORChain)
get_utxo_depositSend Litecoin, Dogecoin or Bitcoin Cash through THORChain from any wallet that can add an OP_RETURN memo. Returns THORChain's vault, the exact amount, the REQUIRED memo with its byte count, the minimum (minimumDisplay: the larger of the dust threshold and practicalMinimum, which is THORChain's current estimate of its smallest swap and can change; say so, and when practicalMinimum is null only the dust threshold is known), the expiry and warnings. THORChain usually cannot fit a refund address in these memos: when refundInMemo is false (refundTo: sender), a failed swap is refunded to the address that sent the coins, so tell the user plainly to send only from a wallet address they control, never from an exchange. Always: the memo is mandatory, send exactly this amount once before expiry, and show every warning. Nothing is sent by this call. For an unsigned PSBT instead, use get_quote then build with the sender as taker. How to combine this with the other tools: swapchan_playbook (workflows: find-money, best-swap, rebalance, revoke-approvals, bridge-stuck, token-safety, recover-old-wallet).
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>",
"toChainId": "<toChainId>",
"toToken": "<toToken>",
"amount": "<amount>",
"recipient": "<recipient>"
},
"name": "get_utxo_deposit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Base units (1e8 per coin) | |
| refund | No | Optional: the user's own address on the sending chain. Put in the memo only if THORChain fits it (see refundInMemo); otherwise refunds go to the sending address | |
| toToken | Yes | ||
| fromToken | Yes | The chain's native coin address from get_supported_tokens | |
| recipient | Yes | Payout address on toChainId | |
| toChainId | Yes | Chain id: 1 Ethereum, 8453 Base, 42161 Arbitrum, 10 Optimism, 137 Polygon, 56 BNB Chain, 43114 Avalanche, 59144 Linea, 534352 Scroll, 792703809 Solana, 8253038 Bitcoin, 728126428 Tron, plus THORChain-only 2000000002 Litecoin, 2000000003 Dogecoin, 2000000145 Bitcoin Cash (either side, THORChain only; sending them needs the native coin and returns an unsigned PSBT on /build or a deposit address from POST /utxo/deposit with the required memo). Non-EVM chains route via Relay, LI.FI and THORChain. | |
| fromChainId | Yes | 2000000002 Litecoin, 2000000003 Dogecoin or 2000000145 Bitcoin Cash | |
| slippageBps | No |