Get HIP-4 TWAP order events by wallet
TWAP order status events: activated, waitingForTrigger, finished, terminated, stopped, and error. Each event carries the TWAP size, executed size and notional, duration, and trigger settings. This route returns the events of one wallet on HIP-4 outcome markets. HIP-4 TWAP orders placed before capture began were not recorded; history starts at the first captured TWAP. Events are ordered oldest first. Page with meta.next_cursor until meta.has_more is false. A page never ends partway through a millisecond, so it can hold fewer events than limit.
Request
- Base URL: https://api.0xarchive.io
- URL: https://api.0xarchive.io/v1/hyperliquid/hip4/twap/user/{user}
- Auth: API key in header X-API-Key
Path parameters
Wallet address: 0x followed by 40 hex characters (case-insensitive).
Query parameters
Start of the window: Unix milliseconds or an RFC 3339 timestamp. Defaults to 24 hours ago.
End of the window: Unix milliseconds or an RFC 3339 timestamp. Defaults to now.
Value of meta.next_cursor from the previous page. The next page starts after it.
Maximum number of events to return (default: 100, max: 1000; larger values are capped at 1000).
Response
TWAP order status events for the wallet
Example response
{
"success": true,
"data": [
{
"status": "activated",
"coin": "HYPE"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.