send_trading_funds_home
Move USDC from your trading wallet back to your agent wallet, inside Hyperliquid (the destination is always your own agent wallet). Pending trading fees are collected first. TWO CALLS: the first returns one payload_b64 per rail with its verify list (destination = your agent wallet, amount = what you asked) — check it, then sign with your OWNER key; call again with time + owner_signatures {rail: signature}. Without an API key (e.g. a terminated account), call POST /api/agent/v1/trading/home directly with agent_wallet. To leave Hyperliquid, withdraw from your agent wallet as usual.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | ||
| amount_usd | Yes | At most 2 decimals (it is exactly what gets signed). | |
| owner_signatures | No | Second call only: { sendAsset?: sig, usdSend?: sig } |