{"partialResults":false,"resources":[{"accepts":[{"amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0xdECE8E839414E4a99213C658ABbD2294d5BD42B0","scheme":"exact"}],"description":"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\".","extensions":{"bazaar":{"info":{"input":{"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":{"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"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"accountAddress":{"description":"Signing account's address, returned as response metadata; not part of the signed action.","pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"action":{"additionalProperties":false,"description":"Modify action.","properties":{"a":{"const":true,"description":"true sets always_place: place the replacement even if the cancel fails. Omit when false.","type":"boolean"},"oid":{"anyOf":[{"minimum":0,"type":"integer"},{"maxLength":34,"minLength":34,"pattern":"^0x[a-fA-F0-9]+$","type":"string"}],"description":"Order to modify: numeric order ID or 128-bit hex CLOID."},"order":{"additionalProperties":false,"description":"Full replacement order.","properties":{"a":{"description":"Asset ID from /perp/hyperliquid/asset-id: perp index, or 10000 + spot index.","minimum":0,"type":"integer"},"b":{"description":"true to buy, false to sell.","type":"boolean"},"c":{"description":"Client order ID: 128-bit hex string, e.g. 0x1234567890abcdef1234567890abcdef.","maxLength":34,"minLength":34,"pattern":"^0x[a-fA-F0-9]+$","type":"string"},"p":{"description":"Limit price as a decimal string.","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","type":"string"},"r":{"description":"true for reduce-only.","type":"boolean"},"s":{"description":"Size as a decimal string, rounded to the asset's szDecimals.","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","type":"string"},"t":{"anyOf":[{"additionalProperties":false,"properties":{"limit":{"additionalProperties":false,"description":"Limit order.","properties":{"tif":{"description":"Alo (post only), Ioc (immediate or cancel) or Gtc (good til canceled).","enum":["Gtc","Alo","Ioc"],"type":"string"}},"required":["tif"],"type":"object"}},"required":["limit"],"type":"object"},{"additionalProperties":false,"properties":{"trigger":{"additionalProperties":false,"description":"Trigger (take profit or stop loss) order.","properties":{"isMarket":{"description":"true to execute as a market order when triggered.","type":"boolean"},"tpsl":{"description":"\"tp\" for take profit, \"sl\" for stop loss.","enum":["tp","sl"],"type":"string"},"triggerPx":{"description":"Trigger price as a decimal string.","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","type":"string"}},"required":["isMarket","triggerPx","tpsl"],"type":"object"}},"required":["trigger"],"type":"object"}],"description":"Order type: { limit: { tif } } or { trigger: { isMarket, triggerPx, tpsl } }."}},"required":["a","b","p","s","r","t"],"type":"object"},"type":{"const":"modify","description":"Always \"modify\".","type":"string"}},"required":["type","oid","order"],"type":"object"},"expiresAfter":{"description":"Millisecond timestamp after which Hyperliquid rejects the action. Signed with the action.","minimum":0,"type":"integer"},"nonce":{"description":"Action nonce in milliseconds since the epoch; defaults to the current time.","minimum":0,"type":"integer"},"vaultAddress":{"description":"Vault or subaccount to act for; omit to act for the signer. Signed with the action.","pattern":"^0x[a-fA-F0-9]{40}$","type":"string"}},"required":["action"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"iconUrl":"https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1793712289/bazaar-icons/18d1fcf093fb95b4.png","lastUpdated":"2026-11-30T08:04:58.009Z","quality":{"l30DaysTotalCalls":14,"l30DaysUniquePayers":3,"lastCalledAt":"2026-11-30T08:04:57.896Z"},"resource":"https://chainhilt.ai/api/v1/perp/hyperliquid/order/modify/preview","serviceName":"chainhilt-x402","tags":["perp","hyperliquid","trading","execution","orders"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"qq326c5su42dyaa"}}
