Hyperliquid Deposit logo

Catalog action Hyperliquid wallet

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

FieldValue
Action IDhyperliquid-deposit
CategoryHyperliquid
Connectorwallet
Requires gasNo
Funds movementNone declared
Tagshyperliquid, deposit, usdc, bridge

Payload Schema

FieldTypeRequiredDescription
amountstringYesAmount to deposit (human-readable, e.g., '100' for 100 USDC). Minimum 1 USDC equivalent.
sourceChainIdnumberNoSource chain to pull tokens from. Defaults to Arbitrum (42161). Supported: 1 (Ethereum), 10 (Optimism), 137 (Polygon), 8453 (Base), 42161 (Arbitrum), 43114 (Avalanche).
sourceTokenAddressstringNoToken address on the source chain to swap from. Defaults to USDC. When a non-USDC token is provided, Relay Protocol swaps it to USDC and bridges to Hyperliquid.
amountRawstringNoRaw amount in the source token's smallest units (e.g., wei). Required when sourceTokenAddress is a non-USDC token. Overrides the amount field for relay execution.

Result Schema

FieldTypeRequiredDescription
statusstringYesDeposit outcome
transactionHashstringNoTransaction hash on the source chain
depositedAmountstringNoUSDC amount deposited (human-readable)
sourceChainIdnumberNoChain ID the USDC was bridged from
isFirstDepositbooleanNoTrue if the Hyperliquid account had zero funds before this deposit

Examples

json
{ "type": "hyperliquid-deposit", "payload": { "amount": "1000000" }, "children": [], "connector": { "type": "wallet", "id": "conn_wallet" }}

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.

Ask a question... ⌘I