Endpoint
Request Body
Response
Returns the same TWAP object shape as Active TWAP Orders, ornull if the TWAP is not found for that user.
- 200: Found
- 200: Not Found
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
POST /info
| Parameter | Type | Description |
|---|---|---|
type* | string | Must be "twapGetById" |
user* | string | User wallet address, e.g., "0x1111111111111111111111111111111111111111" |
twapId* | string | TWAP order ID to fetch, e.g., "0x1a2b3c4d5e6f7890..." |
null if the TWAP is not found for that user.
{
"twapId": "0x1a2b3c...",
"status": "active",
"asset": "BTC",
"side": "buy",
"totalSz": "0.25",
"filledSz": "0.10",
"remainingSz": "0.15",
"reduceOnly": false,
"slicesFilled": 2,
"slicesPartial": 0,
"slicesRejected": 0,
"totalNotional": "5030.000000",
"avgFillPx": "50300.000000",
"durationMs": 1800000,
"sliceIntervalMs": 300000,
"startedAt": 1701234567890,
"expectedEndAt": 1701236367890,
"currentSliceIndex": 2,
"totalExpectedSlices": 7,
"randomize": true,
"createdAt": 1701234567890,
"updatedAt": 1701235167890
}
null
