diff --git a/packages/api-http/source/controllers/receipts.ts b/packages/api-http/source/controllers/receipts.ts index fc705b246..f0ade4307 100644 --- a/packages/api-http/source/controllers/receipts.ts +++ b/packages/api-http/source/controllers/receipts.ts @@ -91,8 +91,8 @@ export class ReceiptsController extends Controller { } const [receipts, totalCount] = await query - .orderBy("transaction.sequence", "DESC") - .addOrderBy("transaction.blockHeight", "DESC") + .orderBy("transaction.blockHeight", "DESC") + .addOrderBy("transaction.sequence", "DESC") .offset(pagination.offset) .limit(pagination.limit) .select()