# Hyperliquid Noop Action Builder (Nonce Invalidation)

> Hyperliquid Noop Action Builder (Nonce Invalidation) is a paid API for AI agents from chainhilt.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-16).

Returns the EIP-712 typed data for a Hyperliquid noop action that a user must sign to mark a nonce as used, enabling safer in-flight order cancellation workflows.

## Facts

- Endpoint: POST https://chainhilt.ai/api/v1/perp/hyperliquid/order/noop?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hyperliquid-noop-action-builder-nonce-invalidation-644aff54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6wqEBso5asOCR8Iftc1zV

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability hyperliquid-noop-action-builder-nonce-invalidation-644aff54 -d '<json body>'
```

Example prompt: Prepare the Hyperliquid noop action I need to sign to consume nonce 1710000000000 on my account 0xAbCd1234abcd1234abcd1234abcd1234abcd1234 so it can't be replayed during my cancellation workflow.

## When to prefer this

Use this endpoint when you need to safely invalidate a Hyperliquid nonce as part of a cancellation or order management workflow without submitting a real trade. This is specifically for noop (no-operation) actions on Hyperliquid's L1 exchange, not for placing, modifying, or cancelling orders directly. Prefer this over cancel-order endpoints when your goal is purely nonce consumption for replay protection rather than actually cancelling a specific open order.

## Known failure modes

- Invalid nonce format (non-integer or negative) returns a validation error
- Malformed Ethereum address (vaultAddress or accountAddress not matching 0x + 40 hex chars) returns a 400 error
- Missing required nonce field results in schema validation failure
- Network or upstream Hyperliquid connectivity issues may return a 500 or timeout
- Payment not provided or insufficient USDC results in 402 Payment Required

## How this service works

Return the Hyperliquid noop action the user must sign to mark a nonce as used for safer in-flight cancellation workflows. Errors: 400 invalid input; execution may return 422 exchange rejection or 502 provider failure. Treat spot and perp as one balance only when the account abstraction mode is "unifiedAccount".

## Output

Returns a structured action object containing: the nonce to be consumed, the noop action type, EIP-712 typed data (types, domain with Exchange contract on chainId 1337, and message with source and connectionId), the Arbitrum chainId (42161), the protocol identifier ('hyperliquid'), and the submitPath to execute the signed noop action. No side effects occur until the returned data is signed and submitted.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "nonce": {
   "type": "integer",
   "minimum": 0,
   "description": "The nonce to mark as used, in milliseconds since the epoch."
  },
  "action": {
   "type": "object",
   "description": "Must be { \"type\": \"noop\" }.",
   "additionalProperties": true
  },
  "expiresAfter": {
   "type": "integer",
   "minimum": 0,
   "description": "Millisecond timestamp after which Hyperliquid rejects the action. Signed with the action."
  },
  "vaultAddress": {
   "type": "string",
   "pattern": "^0x[a-fA-F0-9]{40}$",
   "description": "Vault or subaccount to act for; omit to act for the signer. Signed with the action."
  },
  "accountAddress": {
   "type": "string",
   "pattern": "^0x[a-fA-F0-9]{40}$",
   "description": "Signing account's address, returned as response metadata; not part of the signed action."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "response": {
   "errors": [],
   "actions": [
    {
     "data": {
      "nonce": 1710000000000,
      "action": {
       "type": "noop"
      },
      "typedData": {
       "types": {
        "Agent": [
         {
          "name": "source",
          "type": "string"
         },
         {
          "name": "connectionId",
          "type": "bytes32"
         }
        ],
        "EIP712Domain": [
         {
          "name": "name",
          "type": "string"
         },
         {
          "name": "version",
          "type": "string"
         },
         {
          "name": "chainId",
          "type": "uint256"
         },
         {
          "name": "verifyingContract",
          "type": "address"
         }
        ]
       },
       "domain": {
        "name": "Exchange",
        "chainId": 1337,
        "version": "1",
        "verifyingContract": "0x0000000000000000000000000000000000000000"
       },
       "message": {
        "source": "a",
        "connectionId": "0x666103cc4c87d3ba62d4387aa41c9170baae846785df2f094dfe3131bb2412fa"
       },
       "primaryType": "Agent"
      }
     },
     "type": "signature",
     "chainId": 42161,
     "protocol": "hyperliquid",
     "submitPath": "/perp/hyperliquid/order/noop/execute"
    }
   ],
   "warnings": []
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hyperliquid-noop-action-builder-nonce-invalidation-644aff54/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chainhilt.ai](https://www.zero.xyz/host/chainhilt.ai/llms.txt)
