Gateway Swaps

Search 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 URL
    http://localhost:8000
  • URL
    http://localhost:8000/gateway/swaps/search
  • Auth
    HTTP 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

    • breaking

      the response's body type changed from array to no type for status