ChainHilt Hyperliquid Perp Order Modify Preview 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).
Prepares a single Hyperliquid perpetual order modification (by OID or CLOID) for L1 signing, returning typed EIP-712 data and the submit path for execution.
Prepare a single-order modification by OID or CLOID for L1 signing. Supply the full replacement order. Omit action.a unless true. Sign and submit unchanged using the returned submitPath. See /skills.md for signing rules. 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".
Returns an array of actions each containing: the reconstructed action object (type='modify', oid, full replacement order), EIP-712 typedData (domain, types, message, primaryType) for L1 signing, the nonce used, the chainId (42161 for Arbitrum), the protocol ('hyperliquid'), a submitPath to pass the signed result to for execution, plus any warnings or errors encountered.
POSThttps://chainhilt.ai/api/v1/perp/hyperliquid/order/modify/preview?utm_source=zero.xyzUse this endpoint when you need to modify a single existing Hyperliquid perpetual order and require EIP-712 typed data for L1 signing before submission. It is the preview step in a two-step modify flow (preview → execute). Prefer it over direct submission endpoints when you need to inspect or display the signing payload before committing, or when implementing an agent that must handle the signing step separately from execution.
| Field | Type | Description |
|---|---|---|
| nonce | integer | Action nonce in milliseconds since the epoch; defaults to the current time. |
| action | object | Modify action. |
| expiresAfter | integer | Millisecond timestamp after which Hyperliquid rejects the action. Signed with the action. |
| vaultAddress | string | Vault or subaccount to act for; omit to act for the signer. Signed with the action. |
| accountAddress | string | Signing account's address, returned as response metadata; not part of the signed action. |
{
"type": "json",
"example": {
"response": {
"errors": [],
"actions": [
{
"data": {
"nonce": 1710000000000,
"action": {
"oid": 77738308,
"type": "modify",
"order": {
"a": 0,
"b": true,
"p": "60000",
"r": false,
"s": "0.01",
"t": {
"limit": {
"tif": "Alo"
}
}
}
},
"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": "0xecc4008216404a48fb30f643dc58504d58c29c602c45594d3485e2b681a79827"
},
"primaryType": "Agent"
}
},
"type": "signature",
"chainId": 42161,
"protocol": "hyperliquid",
"submitPath": "/perp/hyperliquid/order/modify/execute"
}
],
"warnings": []
}
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"