Skip to content

Response Normalisation | Normalise GET /liquidity-pools/:id/trades response shape #418

Description

@Sulex45

The liquidity pool trades endpoint added in Issue 86 should follow the same normalisation conventions as the account trades endpoint. Ensure all fields are camelCase, price_r fraction objects are converted to decimal strings, all amounts are seven-decimal strings, and all asset fields follow the standard { code, issuer, type } shape. Remove any raw Horizon fields like paging_token and base_asset_type from the output.

Acceptance Criteria: Response is fully normalised with no raw Horizon fields. All conventions are consistent with other trade endpoints. Tests cover the normalised shape.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programmiddlewareRelated to Express middleware (validation, security, logging)

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions