Add a getAccountTrades(id: string, options?: { limit?: number; cursor?: string }) method to the SDK dex module that calls the new GET /account/:id/trades endpoint and returns a typed paginated response. Each trade should be typed with a Trade interface that includes tradeId, ledgerCloseTime, selling, buying, soldAmount, boughtAmount, price, and offerId using the standard Asset interface for asset fields.
Acceptance Criteria: Method is fully typed with the Trade interface. Returns a PaginatedResponse type. Throws a typed StellarKitError on failure. Includes JSDoc with @example. Compiles without TypeScript errors.
Add a getAccountTrades(id: string, options?: { limit?: number; cursor?: string }) method to the SDK dex module that calls the new GET /account/:id/trades endpoint and returns a typed paginated response. Each trade should be typed with a Trade interface that includes tradeId, ledgerCloseTime, selling, buying, soldAmount, boughtAmount, price, and offerId using the standard Asset interface for asset fields.
Acceptance Criteria: Method is fully typed with the Trade interface. Returns a PaginatedResponse type. Throws a typed StellarKitError on failure. Includes JSDoc with @example. Compiles without TypeScript errors.