Hyperliquid Get Account logo

Catalog action Hyperliquid wallet

Get Hyperliquid perpetual account summary including positions, open orders, and margin status. Returns account value, active positions with PnL, and all resting orders. Ideal for: portfolio monitoring, risk assessment, and pre-trade checks.

At a Glance

FieldValue
Action IDhyperliquid-get-account
CategoryHyperliquid
Connectorwallet
Requires gasNo
Funds movementNone declared
Tagshyperliquid, perps, positions, portfolio, balance

Payload Schema

FieldTypeRequiredDescription
dexstringNoHIP-3 DEX name for TradFi markets. Omit for standard crypto perps. xyz = trade.xyz (stocks, indices, commodities), flx = flx.finance, vntl = vntl.exchange

Result Schema

FieldTypeRequiredDescription
accountValuestringYesTotal account value in USD
totalMarginUsedstringNoTotal margin currently in use
totalPositionValuestringNoTotal notional value of all positions
availableBalancestringNoAvailable balance for new positions
positionsarrayYesActive perpetual positions
openOrdersarrayYesOpen orders on the book

Examples

json
{ "type": "hyperliquid-get-account", "payload": { "dex": "xyz" }, "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