Your swap orders.
Swaps
Orders
GET
Your swap orders.
Authorizations
Your API key from the Studio Dashboard
Query Parameters
Page number, 1-indexed.
Required range:
x >= 1Items per page. Default 50, max 100.
Required range:
1 <= x <= 100Filter by exact public id (swpo_xxxxxxx).
Match orders where this OF account appears on either side.
offer = orders placed against your offers; order = orders you placed.
Available options:
offer, order Available options:
waiting, accepted, rejected, completed, cancelled Lower bound on the resource date (YYYY-MM-DD, UTC, inclusive).
Upper bound on the resource date (YYYY-MM-DD, UTC, inclusive).
Sort order.
created_at_desc: newest orders first (default).created_at_asc: oldest orders first.completed_at_desc: most recently completed first. NULLcompleted_at(still running / not completed) always sorts to the bottom regardless of direction.completed_at_asc: earliest completed first. NULLcompleted_atalways at the bottom.
Available options:
created_at_desc, created_at_asc, completed_at_desc, completed_at_asc