Skip to main content

index/interfaces/FetchTradesOptions.md

Trade list parameters combined with token name

Since​

6.11.0 - Now extends BasePaginationOptions for DRY compliance

Extends​

Properties​

PropertyTypeDescriptionInherited from
cursor?stringCursor token for fetching the next page (omit for first page) - for cursor-based paginationBasePaginationOptions.cursor
endDate?DateEnd date filter-
pageSize?numberPage size for cursor-based pagination (defaults to 50, max 1000)BasePaginationOptions.pageSize
sortOrder?"asc" | "desc"Sort order-
startDate?DateStart date filter-
tokenNamestringToken name to fetch trades for-
tradeType?"buy" | "sell"Optional trade type filter-
userAddress?stringOptional user address filter-