Skip to main content
Fetch the account’s currently running TWAP parent orders directly from a registered provider plugin. Child slice orders are excluded — only the parent appears.
The examples on this page use Hyperliquid (provider: 'hyperliquid'). Replace the provider value with any supported DEX from getProviders().
getRunningTwaps is an optional capability on the PerpsProvider plugin interface — not every registered provider implements it. Call it through the plugin instance resolved from the client, the same way any direct-to-venue read is reached:

Parameters

Returns

TwapOrder[]:

TwapOrderStatus

On Lighter, placeTwapOrder’s own result carries a submit-time transaction hash on twapId — Lighter assigns the parent’s real order index asynchronously. This read resolves that real index (TwapOrder.twapId), which is the value cancelTwapOrder actually expects.
API Reference: placeTwapOrder / cancelTwapOrder — the write-side counterpart. Direct-to-venue reads like this one have no LI.FI HTTP endpoint.