← Back to directory

Prepare a TWAP cancellation for L1 signing. Supply action type twapCancel, asset...

https://chainhilt.ai/api/v1/perp/hyperliquid/twap/cancel/preview

Overview

Prepare a TWAP cancellation for L1 signing. Supply action type twapCancel, asset ID a, and TWAP ID t. Sign and submit unchanged using the returned submitPath. 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
Source bazaar
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

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "action": { "a": 0, "t": 77738308, "type": "twapCancel" }, "nonce": 1710000000000 }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "response": { "actions": [ { "chainId": 42161, "data": { "action": { "a": 0, "t": 77738308, "type": "twapCancel" }, "nonce": 1710000000000, "typedData": { "domain": { "chainId": 1337, "name": "Exchange", "verifyingContract": "0x0000000000000000000000000000000000000000", "version": "1" }, "message": { "connectionId": "0xe38cc5f6146ad42c08a03fd4f091c539f997a972ee251958d9356a3d2fa825a9", "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/twap/cancel/execute", "type": "signature" } ], "errors": [], "warnings": [] } }, "type": "json" }