Gateway Swaps
Search Swaps
Changed onSearch swap history with filters.
Args: network: Filter by network (e.g., 'solana-mainnet-beta') connector: Filter by connector (e.g., 'jupiter') wallet_address: Filter by wallet address trading_pair: Filter by trading pair (e.g., 'SOL-USDC') status: Filter by status (SUBMITTED, CONFIRMED, FAILED) start_time: Start timestamp (unix seconds) end_time: End timestamp (unix seconds) limit: Max results (default 50, max 1000) offset: Pagination offset
Returns: Paginated list of swaps
post/gateway/swaps/search
Request
- Base URLhttp://localhost:8000
- URLhttp://localhost:8000/gateway/swaps/search
- AuthHTTP basic
Query parameters
networkstring nullable
connectorstring nullable
wallet_addressstring nullable
trading_pairstring nullable
statusstring nullable
start_timeinteger nullable
end_timeinteger nullable
limitinteger
offsetinteger
Response
Successful Response
unknown required
Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
the response's body type changed from
arrayto no type for status
- breaking