Skip to content
Fourohtwo

chainhilt.ai/api/v1/perp/hyperliquid/order/place/preview

Prepare an order for L1 signing with the configured lowercase builder and fee in tenths of a basis point. Sign and submit unchanged to the returned submitPath. Errors: 400 invalid input, 409 builder approval slots full, 428 builder fee not yet approved (sign the returned approval, then retry), 502 provider failure, 503 builder not configured. Treat spot and perp as one balance only when the accoun

BaseAnswering
POSThttps://chainhilt.ai/api/v1/perp/hyperliquid/order/place/preview

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://chainhilt.ai/api/v1/perp/hyperliquid/order/place/preview", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"accountAddress":"0x1111111111111111111111111111111111111111","action":{"grouping":"na","orders":[{"a":0,"b":true,"p":"60000","r":false,"s":"0.01","t":{"limit":{"tif":"Gtc"}}}],"type":"order"},"nonce":1710000000000}),
});
console.log(await res.json());

Example input

{
  "accountAddress": "0x1111111111111111111111111111111111111111",
  "action": {
    "grouping": "na",
    "orders": [
      {
        "a": 0,
        "b": true,
        "p": "60000",
        "r": false,
        "s": "0.01",
        "t": {
          "limit": {
            "tif": "Gtc"
          }
        }
      }
    ],
    "type": "order"
  },
  "nonce": 1710000000000
}

More from chainhilt-x402Provider status