← Back to directory

Prepare a single-order modification by OID or CLOID for L1 signing. Supply the f...

https://chainhilt.ai/api/v1/perp/hyperliquid/order/modify/preview

Overview

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".

Protocol x402 (POST)
Price $0.0010
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider chainhilt-x402
Source bazaar
Indexed 2026-11-02 18:57:25

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "action": { "oid": 77738308, "order": { "a": 0, "b": true, "p": "60000", "r": false, "s": "0.01", "t": { "limit": { "tif": "Alo" } } }, "type": "modify" }, "nonce": 1710000000000 }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "response": { "actions": [ { "chainId": 42161, "data": { "action": { "oid": 77738308, "order": { "a": 0, "b": true, "p": "60000", "r": false, "s": "0.01", "t": { "limit": { "tif": "Alo" } } }, "type": "modify" }, "nonce": 1710000000000, "typedData": { "domain": { "chainId": 1337, "name": "Exchange", "verifyingContract": "0x0000000000000000000000000000000000000000", "version": "1" }, "message": { "connectionId": "0xecc4008216404a48fb30f643dc58504d58c29c602c45594d3485e2b681a79827", "source": "a" }, "primaryType": "Agent", "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" } ] } } }, "protocol": "hyperliquid", "submitPath": "/perp/hyperliquid/order/modify/execute", "type": "signature" } ], "errors": [], "warnings": [] } }, "type": "json" }