{"uid":"cap_kD5iOERbYn6G7fJQKSRjE","slug":"otto-ai-hyperliquid-deposit-withdraw-c9a41f44","name":"Otto AI — Hyperliquid Deposit/Withdraw","description":"Deposit or withdraw USDC to/from Hyperliquid via Arbitrum. Intelligent routing: checks Arbitrum Safe first, auto-bridges from Base if needed, falls back to Butler wallet.","url":"https://x402.ottoai.services/hl-deposit-withdraw","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"action":{"enum":["deposit","withdraw"],"type":"string","description":"Direction"},"amount":{"type":"number","description":"USDC amount (human-readable)"},"userAddress":{"type":"string","description":"Optional for external x402 callers — the operated account is your verified payment payer, not this field. Internal/dApp callers must send a valid EVM address."}}},"responseSchema":{"type":"json","example":{"as_of":"2026-07-26T12:00:00.000Z","action":"deposit","amount":100,"status":"success","txHash":"0x...","credited":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_05LMfkQoix3Pmv1yvSaFo","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Execute a deposit or withdrawal action on Hyperliquid, optionally using a bridge, and returns the transaction result","exampleAgentPrompt":"Deposit 100 USDC into my Hyperliquid account using the bridge so I can start trading perps.","exampleUseCases":[{"title":"Fund trading account before opening positions","prompt":"I want to move 500 USDC from Polygon into my Hyperliquid account so I can open some leverage positions on Bitcoin."},{"title":"Withdraw realized profits from exchange","prompt":"Can you pull out 250 USDC from my Hyperliquid account? I made some good gains and want to move that back to my Solana wallet."},{"title":"Bridge and deposit for cross-chain trading","prompt":"Send 1000 USDC to my Hyperliquid account using the bridge—I have the funds on Base but need them on Hyperliquid to trade."}],"resultDescription":"Returns a JSON object confirming the action type (deposit or withdraw), the amount, whether the transaction succeeded, whether a bridge was used, and the on-chain transaction hash.","failureModes":["Insufficient USDC balance — transaction fails with success: false","Invalid action value (not deposit or withdraw) — validation error","Bridge service unavailable — bridgeUsed fails or times out","On-chain transaction rejected — transactionHash absent or null","Network congestion causing timeout on Base/Polygon/Solana"],"whenToPreferThis":"Use this endpoint when an agent needs to programmatically move funds into or out of a Hyperliquid account — particularly before executing perp trades or after realizing profits, with optional cross-chain bridge support.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:50:49.570Z","isFirstParty":false}