{"slug":"chainhilt-ai-api-v1-perp-hyperliquid-send-asset-preview-979a33","title":"Prepare a user-signed sendAsset transfer between users, subaccounts, spot and pe","host":"chainhilt.ai","method":"POST","resource":"https://chainhilt.ai/api/v1/perp/hyperliquid/send-asset/preview","category":"code","description":"Prepare a user-signed sendAsset transfer between users, subaccounts, spot and perp DEXs. Use \"\" for the default perp DEX and \"spot\" for spot; perp transfers require the collateral token. Sign with the main wallet and submit unchanged to the returned submitPath (unpaid). Invalid input returns 400; ex","price_listed":0.001,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":15,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"amount":"1","destination":"0x1111111111111111111111111111111111111111","destinationDex":"spot","fromSubAccount":"","nonce":1710000000000,"sourceDex":"","token":"USDC:0x6d1e7cde53ba9467b783cb7c530ce054"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"amount":{"description":"Positive decimal amount in token units, e.g. \"1.5\".","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","type":"string"},"destination":{"description":"Recipient address on Hyperliquid.","pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"destinationDex":{"description":"Balance to credit: \"\" for the default perp DEX, \"spot\", or a named perp DEX.","type":"string"},"fromSubAccount":{"anyOf":[{"const":"","type":"string"},{"pattern":"^0x[a-fA-F0-9]{40}$","type":"string"}],"default":"","description":"\"\" for the main account, or the subaccount address to send from."},"nonce":{"description":"Action nonce in milliseconds since the epoch; defaults to the current time.","minimum":0,"type":"integer"},"sourceDex":{"description":"Balance to send from: \"\" for the default perp DEX or \"spot\".","enum":["","spot"],"type":"string"},"token":{"description":"tokenName:tokenId, e.g. \"USDC:0x6d1e7cde53ba9467b783cb7c530ce054\". Perp DEX transfers need its collateral token.","pattern":"^[^:\\s]+:0x[0-9a-fA-F]{32}$","type":"string"}},"required":["destination","sourceDex","destinationDex","token","amount"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Prepare a user-signed sendAsset transfer between users, subaccounts, spot and perp DEXs. Use \"\" for the default perp DEX and \"spot\" for spot; perp transfers require the collateral token. Sign with the main wallet and submit unchanged to the returned submitPath (unpaid). Invalid input returns 400; execution may return 422 for rejection or 502 for provider failure. Treat spot and perp as one balance only when the account abstraction mode is \"unifiedAccount\".","last_updated":"2026-11-23T08:04:44.257Z","schemes":["exact"]}