List orders
Changed onList Flash orders for a funder, most recent first. Returns up to pageSize orders per page; pass nextPageToken back as pageToken to fetch the next page.
Request
- Base URLhttps://flash.definitive.fi/v1
- AuthAPI key in header x-definitive-api-key
Query parameters
Funder wallet address whose orders to list. When omitted, orders for every funder in the portfolio are returned.
Comma-separated list of order statuses to filter by. When omitted, orders of every status are returned.
Number of orders to return. Defaults to 50; capped at 200.
Fetch the next page by passing the nextPageToken from your previous response. Leave it out to get the first page. Copy the value exactly as-is — it's not meant to be read or built by hand.
Response
Orders returned successfully
Example response
{
"orders": [
{
"trigger": {
"notionalPrice": "1800",
"crossPrice": "1800",
"limitPrice": "1774"
},
"brackets": [
{
"notionalPrice": "1800",
"crossPrice": "1800",
"limitPrice": "1774"
}
],
"expiresAt": "2026-05-12T00:00:00Z"
}
]
}Changes
- warning
added the new
trailing-stopenum value to the//response property for the response status - warning
added the new
trailing-stop-limitenum value to the//response property for the response status - info
added the optional property
//to the response with the status
- warning
- info
added the optional property
////to the response with the status - info
added the optional property
///////to the response with the status
- info