Skip to content
Fourohtwo

chainhilt.ai/api/v1/perp/hyperliquid/send-asset/preview

Prepare a user-signed sendAsset transfer between users, subaccounts, spot and perp DEXs. Use "" for the default perp DEX and "spot" for spot; perp transfers require the collateral token. Sign with the main wallet and submit unchanged to the returned submitPath (unpaid). Invalid input returns 400; execution may return 422 for rejection or 502 for provider failure. Treat spot and perp as one balance

BaseAnswering
POSThttps://chainhilt.ai/api/v1/perp/hyperliquid/send-asset/preview

Uptime100% of 4 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/send-asset/preview", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"amount":"1","destination":"0x1111111111111111111111111111111111111111","destinationDex":"spot","fromSubAccount":"","nonce":1710000000000,"sourceDex":"","token":"USDC:0x6d1e7cde53ba9467b783cb7c530ce054"}),
});
console.log(await res.json());

Example input

{
  "amount": "1",
  "destination": "0x1111111111111111111111111111111111111111",
  "destinationDex": "spot",
  "fromSubAccount": "",
  "nonce": 1710000000000,
  "sourceDex": "",
  "token": "USDC:0x6d1e7cde53ba9467b783cb7c530ce054"
}

More from chainhilt-x402Provider status