Get OPT order history

Weight: 5

Request Parameters

PARAMETERTYPEReq'dDESCRIPTION
startTimeLONGYStart timestamp
endTimeLONGYEnd timestamp
orderIdSTRINGOPT Order ID
sourceSTRINGAutomatic/Manual
pagesINTEGEREnter integers 1 or 2, default to 1
limitINTEGERLimit of record
Default: 500, Max: 1000
timestampLONGY

Response content

PARAMETERTYPEExample valuesDESCRIPTION
orderIdSTRINGSWAP509692083805077504OPT Order ID
buyAmountSTRING (decimal)99999Buy Amount
buyAssetSTRINGUSDBuy Asset
sellAmountSTRING (decimal)100000Sell Amount
sellAssetSTRINGUSDTSell Asset
priceSTRING (decimal)1.11111111Price
sourceSTRINGAutomaticAutomatic order
Manual order
statusSTRINGSucceeded"Processing"
"Succeeded"
"Failed"
updateTimeSTRING2025-04-10 12:52:42Last Updated Time
Query Params
int64
required
Defaults to 1744192986000
int64
required
Defaults to 1746698586000
string
Defaults to SWAP698155692149968896
string
Defaults to Automatic
int32
Defaults to 1
int32
string
required
Defaults to 1748316198020
string
required
Defaults to 4419a43aa5f8075693de85536de6b2f4c730b160eed846d9af1812ed83379464
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json