> ## Documentation Index
> Fetch the complete documentation index at: https://docs.b3os.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Hyperliquid Enable Unified Account

Enable or disable Unified Account mode on Hyperliquid. When enabled, a single USDC balance collateralizes all positions across crypto perps AND HIP-3 DEX markets (trade.xyz stocks, indices, commodities). Without it, each DEX has separate margin. Ideal for: activating HIP-3 DEX trading, simplifying margin management.

![Hyperliquid Enable Unified Account logo](https://cdn.b3.fun/hyperliquid-logo.png)
Catalog action Hyperliquid wallet

Enable or disable Unified Account mode on Hyperliquid. When enabled, a single USDC balance collateralizes all positions across crypto perps AND HIP-3 DEX markets (trade.xyz stocks, indices, commodities). Without it, each DEX has separate margin. Ideal for: activating HIP-3 DEX trading, simplifying margin management.

**Review wallet and value movement**

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-enable-unified-account` |
| Category | Hyperliquid |
| Connector | `wallet` |
| Requires gas | No |
| Funds movement | None declared |
| Tags | `hyperliquid`, `perps`, `trading` |

## Payload Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `enable` | `boolean` | No | Set to true to enable unified account, false to disable. Defaults to true. |

## Result Schema

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `status` | `string` | Yes | Result of the unified account operation |
| `abstraction` | `string` | No | The current account abstraction mode |

## Examples

**Workflow node**

```json
{
  "type": "hyperliquid-enable-unified-account",
  "payload": {
    "enable": true
  },
  "children": [],
  "connector": {
    "type": "wallet",
    "id": "conn_wallet"
  }
}
```
  **Test with API**

```bash
curl -X POST "https://api.b3os.org/v1/actions/hyperliquid-enable-unified-account/test" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "inputs": {
    "enable": true
  }
}'
```

**Use expressions for dynamic values**

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.