Overview
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 isolated-margin/execute (unpaid). Errors: 400 invalid input, 422 rejection, 502 provider failure. Treat spot and perp as one balance only when the account abstraction mode is "unifiedAccount".
Protocol
x402 (POST)
Price
$0.0010
Payment Asset
USD Coin
Payment Network
eip155:8453
Category
uncategorized
Provider
chainhilt-x402
Indexed
2026-11-02 13:26:50
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
Input Schema
{
"body": {
"action": {
"asset": 0,
"isBuy": true,
"ntli": 1000000,
"type": "updateIsolatedMargin"
},
"nonce": 1710000000000
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"response": {
"actions": [
{
"chainId": 42161,
"data": {
"action": {
"asset": 0,
"isBuy": true,
"ntli": 1000000,
"type": "updateIsolatedMargin"
},
"nonce": 1710000000000,
"typedData": {
"domain": {
"chainId": 1337,
"name": "Exchange",
"verifyingContract": "0x0000000000000000000000000000000000000000",
"version": "1"
},
"message": {
"connectionId": "0xd7c39d33dc8819b6fe099b0f730b7455d326ffcc6bc1a4cc6580a7ced5f9d1ac",
"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/isolated-margin/execute",
"type": "signature"
}
],
"errors": [],
"warnings": []
}
},
"type": "json"
}