Skip to main content

ExchangePairsResult

Paged, sorted result of the exchangePairs query. Items are sorted cached-first so zero-backfill picks appear at the top of the dropdown; within each cached/uncached group the order matches the exchange's native market-listing order (alphabetical for most adapters).

type ExchangePairsResult {
items: [ExchangePairInfo!]!
totalCount: Int!
cachedCount: Int!
hasMore: Boolean!
invalidSymbols: [String!]!
}

Fields

ExchangePairsResult.items ● [ExchangePairInfo!]! non-null object

At most limit items matching the (optional) search filter.

ExchangePairsResult.totalCount ● Int! non-null scalar

Total pair count for this exchange+mode BEFORE the search filter.

ExchangePairsResult.cachedCount ● Int! non-null scalar

Count of cached pairs for this exchange+mode BEFORE the search filter.

ExchangePairsResult.hasMore ● Boolean! non-null scalar

True when more matching items exist beyond the requested page (offset+limit).

ExchangePairsResult.invalidSymbols ● [String!]! non-null scalar

Subset of the caller-supplied validateSymbols argument that are NOT in the exchange's current market listing — typically pairs the user picked earlier that the exchange has since delisted/renamed. Empty when validateSymbols is unset. The frontend uses this to mark stale chips.

Returned By

exchangePairs query