{"partialResults":false,"resources":[{"accepts":[{"amount":"1000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":300,"network":"eip155:8453","payTo":"0xdECE8E839414E4a99213C658ABbD2294d5BD42B0","scheme":"exact"}],"description":"Preview a Hyperliquid trade with notional, margin impact, slippage, liquidation estimate, exchange fees, and builder fee. Errors: 400 invalid input, 502 provider failure. Treat spot and perp as one balance only when the account abstraction mode is \"unifiedAccount\".","extensions":{"bazaar":{"info":{"input":{"body":{"address":"0x1111111111111111111111111111111111111111","coin":"ETH","includeRaw":false,"limitPx":"3500","side":"buy","size":"0.1","slippageBps":25},"bodyType":"json","method":"POST","type":"http"},"output":{"example":{"preview":{"builderFee":"0.0035","estimatedFee":"0.1575","notional":"350.00"}},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"address":{"description":"Account to preview the trade for.","pattern":"^0x[a-fA-F0-9]{40}$","type":"string"},"builderFeeBps":{"description":"Accepted but ignored: the estimate uses the API's configured builder fee.","maximum":10,"minimum":0,"type":"number"},"coin":{"description":"Market symbol, e.g. \"ETH\".","maxLength":32,"minLength":1,"type":"string"},"includeRaw":{"description":"true to include the raw Hyperliquid payloads in the response.","type":"boolean"},"limitPx":{"description":"Reference price as a decimal string; defaults to the mid, then the best book price.","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","type":"string"},"side":{"description":"\"buy\" or \"sell\".","enum":["buy","sell"],"type":"string"},"size":{"description":"Order size as a decimal string.","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]+)?$","type":"string"},"slippageBps":{"description":"Slippage in basis points applied to the reference price; defaults to 50.","maximum":10000,"minimum":0,"type":"integer"},"takerFeeBps":{"description":"Taker fee in basis points for the fee estimate; defaults to 4.5.","maximum":100,"minimum":0,"type":"number"}},"required":["address","coin","side","size"],"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:55.12Z","quality":{"l30DaysTotalCalls":17,"l30DaysUniquePayers":5,"lastCalledAt":"2026-11-30T08:04:55.006Z"},"resource":"https://chainhilt.ai/api/v1/perp/hyperliquid/trade/preview","serviceName":"chainhilt-x402","tags":["perp","hyperliquid","trading","preview","risk"],"type":"http","x402Version":2}],"searchMethod":"text","x402Version":2,"meta":{"searchToken":"3mr5iutw7vpqkaa"}}
