Hyperliquid Deposit
Deposit USDC into Hyperliquid for perpetual trading via cross-chain bridge (Relay Protocol). Accepts USDC from any supported chain (Arbitrum, Ethereum, Base, Polygon, Optimism, Avalanche). Ideal for: funding a new account, adding margin, and activating trading.
Catalog action Hyperliquid wallet Gas
Deposit USDC into Hyperliquid for perpetual trading via cross-chain bridge (Relay Protocol). Accepts USDC from any supported chain (Arbitrum, Ethereum, Base, Polygon, Optimism, Avalanche). Ideal for: funding a new account, adding margin, and activating trading.
This action can require a wallet connector, gas, token movement, or an external side effect. Test with simulation or a controlled amount before using it in a live workflow.
At a Glance
| Field | Value |
|---|---|
| Action ID | hyperliquid-deposit |
| Category | Hyperliquid |
| Connector | wallet |
| Requires gas | Yes |
| Funds movement | None declared |
| Tags | hyperliquid, deposit, usdc, bridge |
Payload Schema
| Field | Type | Required | Description |
|---|---|---|---|
amountRaw | string | No | Amount to deposit in the source token's smallest units. Minimum 1 USDC equivalent. |
Result Schema
| Field | Type | Required | Description |
|---|---|---|---|
status | string | Yes | Deposit outcome |
transactionHash | string | No | Transaction hash on the source chain |
depositedAmount | string | No | Amount deposited. Human-readable for USDC (e.g., '100'). Raw smallest-unit string for non-USDC source tokens when no human-readable amount is available. |
srcChainId | number | No | Chain ID the USDC was bridged from |
isFirstDeposit | boolean | No | True if the Hyperliquid account had zero funds before this deposit |
Examples
json{ "type": "hyperliquid-deposit", "payload": { "amountRaw": "1000000" }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}
bashcurl -X POST "https://api.b3os.org/v1/actions/hyperliquid-deposit/test" \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "inputs": { "amountRaw": "1000000" }}'
Payload fields can use workflow expressions such as {{$trigger.body.amount}}, {{$nodes.fetch.result.price}}, and {{$props.asset}} when the value should come from a trigger, prior node, or reusable workflow prop.
