Docs

userTwapSliceFills - User TWAP Slice Fills

Retrieve latest executed TWAP slice fills for a single Hyperliquid user from the Dwellir Hyperliquid Index over /info or JSON-RPC.

Use userTwapSliceFills to retrieve the most recent indexed TWAP slice fills for one Hyperliquid user address. Results are ordered newest first and include only fills with a non-zero twapId.

Endpoints

REST-style Info API:

Text
POST https://api-hyperliquid-index.n.dwellir.com/YOUR_API_KEY/info

JSON-RPC:

Text
POST https://api-hyperliquid-index.n.dwellir.com/YOUR_API_KEY/jsonrpc

Parameters

FieldTypeRequiredDescription
typestringyesMust be userTwapSliceFills for /info.
userstringyes0x-prefixed Hyperliquid user address.
limitnumbernoMaximum rows to return, capped at 2000.

Billing

Billed by returned fill objects

userTwapSliceFills responses are billed by the number of fill objects returned, not as one response per HTTP request. A response with 100 fills counts as 100 responses/API credits.

Requests that return an empty array are billed as 0 responses/API credits and do not count against usage. Error responses are not charged.

REST-style Example

Bash
curl -X POST "https://api-hyperliquid-index.n.dwellir.com/YOUR_API_KEY/info" \
  -H "content-type: application/json" \
  -d '{
  "type": "userTwapSliceFills",
  "user": "0x1111111111111111111111111111111111111111",
  "limit": 100
}'

JSON-RPC Example

Bash
curl -X POST "https://api-hyperliquid-index.n.dwellir.com/YOUR_API_KEY/jsonrpc" \
  -H "content-type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "userTwapSliceFills",
  "params": {
    "user": "0x1111111111111111111111111111111111111111",
    "limit": 100
  }
}'

Response

REST /info responses return an array directly. JSON-RPC responses return the same array under result. Empty matches return []; they are not errors.

Each fill row is a normal fill object with twapId populated. txIndex is the block-local fill event index from node_fills_by_block.