ChainHilt Hyperliquid Isolated Margin Update (Preview) is a paid API for AI agents from chainhilt.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-16).
Prepares a signed EIP-712 action to add or remove isolated margin for a Hyperliquid perpetual asset, returning an unsigned payload ready for submission.
Add or remove isolated margin for a perp asset. ntli is a signed integer in millionths of USD: 1000000 adds 1 USD; -1000000 removes 1 USD. isBuy defaults to true. Sign and submit unchanged to the returned submitPath (unpaid). 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".
Returns a JSON object containing an actions array with an EIP-712 typed data payload (domain, types, message, primaryType), the original action parameters (asset, ntli, nonce), the target chain ID (42161 for Arbitrum), the protocol identifier ('hyperliquid'), and a submitPath pointing to the execution endpoint where the signed payload should be sent. Also includes any errors or warnings from validation.
POSThttps://chainhilt.ai/api/v1/perp/hyperliquid/isolated-margin/preview?utm_source=zero.xyzUse this endpoint when you need to adjust isolated margin on a Hyperliquid perpetual position and want a fully prepared, EIP-712-compliant unsigned payload ready for signing — without managing raw Hyperliquid API calls yourself. Prefer this over direct Hyperliquid API calls when operating in an x402 agent context with no API key management, or when routing through a vault/subaccount. Not for cross-margin adjustments (use the leverage/cross endpoint) or spot balance management.
| Field | Type | Description |
|---|---|---|
| nonce | integer | Action nonce in milliseconds since the epoch; defaults to the current time. |
| action | object | Isolated margin update action. |
| expiresAfter | integer | Millisecond timestamp after which Hyperliquid rejects the action. Signed with the action. |
| vaultAddress | string | Vault or subaccount to act for; omit to act for the signer. Signed with the action. |
| accountAddress | string | Signing account's address, returned as response metadata; not part of the signed action. |
{
"type": "json",
"example": {
"response": {
"errors": [],
"actions": [
{
"data": {
"nonce": 1710000000000,
"action": {
"ntli": 1000000,
"type": "updateIsolatedMargin",
"asset": 0,
"isBuy": true
},
"typedData": {
"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"
}
]
},
"domain": {
"name": "Exchange",
"chainId": 1337,
"version": "1",
"verifyingContract": "0x0000000000000000000000000000000000000000"
},
"message": {
"source": "a",
"connectionId": "0xd7c39d33dc8819b6fe099b0f730b7455d326ffcc6bc1a4cc6580a7ced5f9d1ac"
},
"primaryType": "Agent"
}
},
"type": "signature",
"chainId": 42161,
"protocol": "hyperliquid",
"submitPath": "/perp/hyperliquid/isolated-margin/execute"
}
],
"warnings": []
}
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"