Skip to main content

twapHistory Info Endpoint Method

Returns a user's historical TWAP orders, including execution state and final status.

Updated on
Sep 01, 2026

Parameters

type
string
REQUIRED

Request type identifier. Set this value to 'twapHistory'

user
string
REQUIRED

The 42-character hexadecimal address of the user whose TWAP history to retrieve

Returns

array
array

Array of historical TWAP order records. The array is empty when the user has no TWAP history.

time
integer

Creation time of the history record as a Unix timestamp in seconds

state
object

Execution state of the TWAP order

coin
string

Asset symbol for the TWAP order

executedNtl
string

Notional value executed so far, returned as a decimal string

executedSz
string

Order size executed so far, returned as a decimal string

minutes
integer

Configured TWAP duration in minutes

randomize
boolean

Indicates whether execution timing is randomized

reduceOnly
boolean

Indicates whether the TWAP can only reduce an existing position

side
string

Order side: 'B' for bid or buy, and 'A' for ask or sell

stopPx
string | null

Price at which the order stops, or null when no stop price is configured

sz
string

Original TWAP order size, returned as a decimal string

timestamp
integer

TWAP start time as a Unix timestamp in milliseconds

trigger
object | null

Trigger condition for the TWAP, or null when no trigger is configured

px
string

Trigger price, returned as a decimal string

above
boolean

When true, activates above the trigger price; when false, activates below it

user
string

The 42-character hexadecimal address that placed the TWAP order

status
object

Current or final status of the TWAP order

status
string

Status value: 'finished', 'activated', 'terminated', 'waitingForTrigger', 'stopped', or 'error'

description
string

Error description. Present only when status is 'error'

twapId
integer

Optional unique identifier of the TWAP order

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free